How can I add a url in the body of an outgoing email trigger by automation?

I have recently started using the Automation tool and am currently trying to trigger and email with specific fields to be sent to a few emails. I have found a few Smart Fields here https://codebarrel.atlassian.net/wiki/spaces/AUTO4J/pages/27656216/Smart+Fields but I am unable to add to my email a link using the {{issue.key}} . Is there a way to do that and is there a larger list of Smart Fields available somewhere?

Thank you,

Ramzi

2 answers

1 vote
Nick Menere Community Champion Aug 22, 2017

Hi Ramzi,

In order to send email with a link to the issue you can use the following configuraiton:

Screen Shot 2017-08-23 at 2.04.39 pm.png

 

All fields that are available in JSON representation of the issue are available as smart values. As Jira is so configurable, we can't say what exact fields are available but do provide an example on the page you mentioned.

 

Hope this helps.

 

Cheers,

Nick

Might have been added since the last reply but I found you can use

 

{{issue.toUrl}}

I've tried {{issue.toUrl}} but value is empty when using in emails. Do you have any experience with this smart value?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

412 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you