Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

13 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>

Cheers!

{{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 Sue Lund likes 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 Jakob Larsson likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

688 views 7 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you