         builds = JSON.parse(body).build.splice(0, amount) unless err
         callback err, msg, builds
 
+
   mapNameToIdForBuildType = (msg, project, name, callback) ->
+
+    if aliases[name]
+      callback(msg, aliases[name])
+      return
 
     execute = (buildTypes) ->
       buildType =  _.find buildTypes, (bt) -> return bt.name == name and (not project? or bt.projectName == project)

        return

      url = "#{base_url}/httpAuth/action.html?add2Queue=#{buildType}"
      msg.http(url)
        .headers(getAuthHeader())
        .get() (err, res, body) ->


  buildTypes = []

  aliases =
    poapi: "bt2693"

  getAuthHeader = ->
    return Authorization: "Basic #{new Buffer("#{username}:#{password}").toString("base64")}", Accept: "application/json"

