Jira Automation: how do you reference an issue's url in jql?

Meghan Combs October 4, 2021

I'm trying to automate sending emails to myself whenever someone creates a ticket inside my Jira project. I am setting up the email body and would like to have a link out to the ticket created (i.e. a link to https://[company].atlassian.net/browse/[issue.id]). How do I do that with jql?

1 answer

1 accepted

2 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 4, 2021

Hi Meghan - Welcome to the Atlassian Community!

You can place this in the body of the email:

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

You can sub out key for the word summary if you just want the ID. 

Meghan Combs October 6, 2021

Thanks, this is exactly what I needed!

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2021

Great!

Andrzej Hull April 4, 2022

@John Funkdo you have similar expression for release url?

I'd like to place link to release in the email body, I'm trying to automate sending email when release is marked 'released'.

Suggest an answer

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

Atlassian Community Events