Forums

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

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

Meghan Combs
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!
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 Champion
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
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!
October 6, 2021

Thanks, this is exactly what I needed!

Like John Funk likes this
John Funk
Community Champion
October 7, 2021

Great!

Andrzej Hull
Contributor
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