The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Automation

Anthony Thamel
Contributor
November 15, 2022

I have a simple automation rule in the board I'm working

WHEN issue is closed, done, resolved

IF Fix version is empty

THEN send an email.

 

How can I add the JIRA issue that triggered this to the email body? so that the recipient can simply click on the link to see the issue?

 

Thanks

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

5 votes
Answer accepted
John Funk
Community Champion
November 15, 2022

Hi Anthony,

You can use this in the body for a clickable link:

<a href="{{issue.toUrl}}">{{issue.summary}}</a>

Anthony Thamel
Contributor
November 15, 2022

Thanks John! I was doing some testing and figured out {{issue.key}} {{issue.summary}} fields. Then I got stuck with how to enable a clickable link and voila, you provided the solution!

Like # people like this
John Funk
Community Champion
November 15, 2022

Glad I could help!

Anthony Thamel
Contributor
November 16, 2022

Hey @John Funk , I have a follow up question. If I need to show the JIRA issue ID and summary in the hyperlink, is below correct?

Expectation:

WDM-9999  Test Summary

 

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

(If I need a space between ID and the summary, how to add that? otherwise formatting look ugly)

Thanks!

Like John Funk likes this
John Funk
Community Champion
November 16, 2022

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

Like Anthony Thamel likes this
Anthony Thamel
Contributor
November 16, 2022

Thanks! 

So as per your response, it would be one hyperlink or two?  I would like to have only one hyperlink.

John Funk
Community Champion
November 16, 2022

Without testing a lot - that's what I would do. The hyperlink is the same so it doesn't matter if you have one that includes the whole thing including the space or have two separate - I don't see a difference in that. 

Anthony Thamel
Contributor
November 16, 2022

Thank you!

Like John Funk likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events