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

      when "down", "bottom" then direction = "Bottom"
      else throw "invalid direction"

    fetch "#{jiraUrl}/rest/api/2/issue/#{ticket}"
    .then (json) ->
      if json.id
        fetch("#{jiraUrl}/secure/Rank#{direction}.jspa?issueId=#{json.id}", headers: headers)
        #Note: this fetch returns HTML and cannot be validated/parsed for success
      else
        throw "Cannot find ticket `#{ticket}`"
    .then (res) ->
      checkStatus res
    .then () ->
      msg.send "<@#{msg.message.user.id}> Ranked `#{ticket}` to `#{direction}`"
    .catch (error) ->

      if shouldTransitionRegex.test(message)
        [ __, toState] =  message.match shouldTransitionRegex

    fetch("#{jiraUrl}/rest/api/2/user/search?username=#{msg.message.user.email_address}")
    .then (user) ->
      reporter = user[0] if user and user.length is 1
      quoteRegex = /`{1,3}([^]*?)`{1,3}/
