Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

4 answers

8 votes
Nick Menere
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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

Hello Nick, 

I was having the same issue. I just tried your suggestion and so happy that it works like a treat.

 

Thanks so much!

Tina

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?

Deleted user Mar 21, 2019

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

Like # people like this

Is this a straight replacement for {{issue.key}} if Issue key is currently being displayed however not an active URL?

@[deleted] thank you!!


Is it possibe to sent an email with the link to the release that were relesed?

your issue was updated: <a href="https://yourinstance.atlassian.net/browse/{{issue.key}}">{{issue.key}} - {{issue.summary}}</a>

That worked for me. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events