Forums

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

How to add field info in mail generated because of automation rule

Anand Bisoen July 7, 2021

I have a legacy automation mailing an alert when a new ticket is created in a service management project. This alert mail contains a hyperlink to the actual ticket and  info from some fields.

Trying to convert this using the new automation rules I cannot select option for an alert. As alternative I can choose sending a mail as notification. But in the body text of the mail the info which was previously visible in the alert mail is not visible.

Adding {{issue.fields}} to the mail body did not resolve this.

 

Anyone a simple solution for this?

2 answers

1 accepted

1 vote
Answer accepted
John Funk
Community Champion
July 7, 2021

Hi Anand,

You can put this in your email: 

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

That will show the summary of the field and provides a clickable link that will open the card. Is that what you are looking for? 

Anand Bisoen July 7, 2021

thx. works for me

Like John Funk likes this
0 votes
Patricia Francezi
Community Champion
July 7, 2021

Hi @Anand Bisoen 

The Automation smart values should be used in your case, but {{issue.fields}} is very broad, so you need to specify what need to be print. 

i.e {{issue.summary}} etc;

Check the docs here

https://support.atlassian.com/jira-software-cloud/docs/what-are-smart-values/

Anand Bisoen July 7, 2021

Hi Patrizia, adding button "View Issue" (see screenshot) would be working for me.

How can I add that in a simple way. I am not a programmer.

Screen Shot 2021-07-07 at 13.49.19.png

Suggest an answer

Log in or Sign up to answer