           https://#{robot.adapter.client.team.domain}.slack.com/archives/#{msg.message.room}/p#{msg.message.id.replace '.', ''}
         """
     .then () ->
-      send msg, "Added comment to `#{ticket}`: #{jiraUrl}/browse/#{ticket}"
+      send msg, "Added comment to <#{jiraUrl}/browse/#{ticket}|#{ticket}>"
     .catch (error) ->
       send msg, "Error: `#{error}`"
 

      type = _(transitions).find (type) -> type.name is toState
      transition = json.transitions.find (state) -> state.to.name.toLowerCase() is type.jira.toLowerCase()
      if transition
        send msg, "Transitioning `#{ticket}` to `#{transition.to.name}`"
        fetch "#{jiraUrl}/rest/api/2/issue/#{ticket}/transitions",
          method: "POST"
          body: JSON.stringify
            transition:
              id: transition.id
      else
        send msg, "#{ticket} is a `#{json.fields.issuetype.name}` and does not support transitioning from `#{json.fields.status.name}` to `#{type.jira}` :middle_finger:"
    .catch (error) ->
      send msg, "An error has occured: #{error}"


        else
          send msg, "Cannot find jira user <@#{slackUser.id}>"
      .then () ->
        send msg, "Assigned <@#{slackUser.id}> to <#{jiraUrl}/browse/#{ticket}|#{ticket}>"
      .catch (error) ->
        send msg, "Error: `#{error}`"
    else
