         switch response.statusCode
           when 200
             try
-              callback null, JSON.parse(data)
+              callback null, JSON.parse(data), response.statusCode
             catch err
-              callback null, data or { }
+              callback null, (data or { }), response.statusCode
           when 401
             throw new Error "401: Authentication failed."
           else
             console.error "Code: #{response.statusCode}"
-            callback response.statusCode, null
+            callback null, null, response.statusCode
 
       response.on "error", (err) ->
         console.error "Redmine response error: #{err}"
-        callback err, null
+        callback err, null, response.statusCode
 
     if method in ["POST", "PUT"]
       request.end(body, 'binary')


    request.on "error", (err) ->
      console.error "Redmine request error: #{err}"
      callback err, null

    params =
      "include": "journals"

    redmine.Issue(id).show params, (err, data, status) ->
      unless status == 200
        msg.reply "Issue ##{id} doesn't exist."
        return false

