Forums

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

Question about Jira rule automation for boards

Andrei Antonescu September 6, 2023

Hi, I'm new to this, but when setting up automated rules to send email messages with certain conditions, I see examples using things like {{issue.key}} and {{issue.summary}}, but what others are available? We need to get the name of the reporter of the issue to show on the email, so I know ahead of time who sent it before having to go into Jira itself to look at the kanban board in the project. What can you use to link to fields you've created for it? 

Also, how can I generate a link to the issue or project in Jira from the email itself? Right now it's pretty basic and just gives a summary of the issue as entered by the user.

 

Thanks.

2 answers

2 accepted

2 votes
Answer accepted
Collista Lewingdon
Community Champion
September 6, 2023

@Andrei Antonescu 

Using Jira Smart Values will allow you to pull pretty much whatever you want into an email. 

The specific smart value you would use to pull reporter is this: {{issue.reporter.displayName}}.

This  Jira Smart values webpage is a great resource to bookmark, especially if you anticipate using automations  lot. 

In regards to the second portion of your question, yes, you can add a link to the issue that is a clickable hyperlink. You could enter any of the following smart values to get a hyperlink:

{{issue.url}}  - will print off the Issue Key as the url of the current issue

{{triggerIssue.url}} - will print off the Trigger Issue Key as a the url

And my favorite,

<a href="{{issue.url}}">{{issue.key}} - {{issue.summary}}</a> - this one will show the name and description of the issue as well as generate the link to it.  I have included an image of how the last one looks cause I love how it looks. 

2023-09-06 14_16_03-__ACTION NEEDED__ - Figure out how to close project is now complete - collista_l.png

If my answer is helpful in resolving your question, please accept it. 

If you have any additional questions, please let me know.  

1 vote
Answer accepted
JM Perrot
Community Champion
September 6, 2023

Hey @Andrei Antonescu 

There is a good page woth all availble smart value in Jira:

Jira Smart Value 

In your case, to show the name of the reporter, the smart value is {{issue.reporter.displayName}}

Let me know if it's convenient,

Regards,

JM

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events