How to insert a link to the current issue in the notification?

Vladimir Matveev
Contributor
November 9, 2021

When I want to send in notifications issue.key - I write {{issue.key}}, 
summary - {{issue.summary}} ...
How to write a link to the current issue?

1 answer

1 accepted

2 votes
Answer accepted
Sebastian Krzewiński
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2021

Hi @Vladimir Matveev 

 

Please use this:

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

 

More info: https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/#Smartvaluesgeneral---issue.url--

Vladimir Matveev
Contributor
November 9, 2021

@Sebastian Krzewiński Thank you very much for your answer and for
a very useful link for me.

John Sibly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2023

Very small point, but there is an extra bracket in the html snippet above.

Instead use:

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events