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

Adding If/Else to Notification Email Subject Line

Refinement Services Support May 23, 2023

In Jira project automations how can I add a logical statement to an email subject?

For example, add "URGENT" to the subject line if {{issue.priority.name}} = "High"

 

Is this possible?

 

Thanks

 

Neil

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 23, 2023

Yes, that is possible, all you would have to do is create a global variable for the summary field and then use the if/else to define the summary. You can then use that smart value in the send email component, something like this:

Screenshot 2023-05-23 at 1.55.22 PM.png

Refinement Services Support May 30, 2023

Thanks Mikael!

Like Mikael Sandberg likes 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