Forums

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

Syntax for Issue Type and Priority

Mark Gibson December 23, 2020

In an automation email, I am looking to display the issue type and priority for a selected issue.

The scenario is a product owner changes the issue type or priority on an issue so I am sending an email to the JSD agent to make the same adjustment on the linked JSD ticket.

When using the syntax of {{issue.issue_type}} or {{issue.priority}}, a numeric value is returned and not the text (bug, task, etc or High, Medium, etc).  

Is the syntax incorrect or ?

1 answer

1 accepted

0 votes
Answer accepted
Joshua Carr
Contributor
December 23, 2020

I haven't tested this, but try {{issue.issue_type.name}} and {{issue.priority.name}}. Source: https://confluence.atlassian.com/automation/smart-values-993924860.html.

Mark Gibson December 23, 2020

Thanks, Joshua! That worked in both cases.

Thank you as well for the confluence link!

Like # people like this

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