     [ __, ticket, toState ] = msg.match
     ticket = ticket.toUpperCase()
 
-    fetch "#{jiraUrl}/rest/api/2/issue/#{ticket}?expand=transitions.fields"
+    fetch("#{jiraUrl}/rest/api/2/issue/#{ticket}?expand=transitions.fields")
     .then (json) ->
       type = _(transitions).find (type) -> type.name is toState
       transition = json.transitions.find (state) -> state.to.name.toLowerCase() is type.jira.toLowerCase()

    slackUser = lookupSlackUser person

    if slackUser
      fetch "#{jiraUrl}/rest/api/2/user/search?username=#{slackUser.email_address}"
      .then (user) ->
        jiraUser = user[0] if user and user.length is 1
        if jiraUser

      message = ""
      id = ""
      ticket = issue.trim().toUpperCase()
      fetch("#{jiraUrl}/rest/api/2/issue/#{ticket}")
      .then (json) ->
        id = json.id
        message = """
