     .get() (err, res, body) ->
       issue = JSON.parse(body)
       completion(issue)
+
+issue_summary = (issue) ->
+  issue.key + ": " + issue.fields.summary + " (status: " + issue.fields.status.name + ")"

    ticket = project + "-" + mention.match[1]

    load_issue robot, ticket, (issue) ->
      mention.send(issue.key + ": " + issue.fields.summary + " (status: " + issue.fields.status.name + ")")

load_issue = (robot, issueNumber, completion) ->
  credentials = process.env.HUBOT_JIRA_READER_USERNAME + ":" + process.env.HUBOT_JIRA_READER_PASSWORD

    msg.send "I'm watching: " + projects.join(", ")

  robot.respond /status on ?(.+)?/i, (msg) ->
    load_issue robot, msg.match[1], (issue) ->
      msg.send issue_summary(issue)

  robot.brain.on 'loaded', =>
    if !has_started_watching_projects
