Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do you insert a link for an issue into an email notification with Automation for Jira?

John McKiernan Marketplace Partner Aug 12, 2019

I want to send a notification that includes a link back to the originating ticket in the body of an email. I can include the Key of the issue but not the link. How can I do this with Automation for Jira? 

1 answer

25 votes

Hi John,

thanks for your question :)

You will need to use the following smart value:

  • {{issue.url}} will print off the Issue key as the url of the current issue.
  • {{triggerIssue.url}} will print off the Trigger Issue Key as a the url.

If you wanted to get fancy, you could use the following, which will show the name and description of the ticket as well as link to it:

<a href="{{issue.url}}">{{issue.key}} - {{issue.summary}}</a>


{{issue.url}} some times generating a link which takes you to the ticket in the customer portal. But some times it is generating a link which takes you to the home page of the customer portal. 

I am getting this strange behaviour.

You need the customer link, {{issue.url.customer}}



Like # people like this

@Mallikarjuna Madineni The reason you sometimes end up in the portal is because you don't have access to the Service Desk.

The same URL is used for both Service Desk and Customer Portal (or if it is some redirects involved). Anyhow - that is why :)

Like # people like this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events