Forums

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

What is Jira JMWE nunjucks syntax for Conditional execution on a custom field?

Dale Bosserman
Contributor
December 7, 2017

I'm configuring a conditional post function based on a custom field value. The custom field is a Multiple Choice Select List and I want it to run if one of the values = ABC

I've tried the following with no luck. 

{{ issue.fields['Products Impacted'].value == "ABC" }}

{{ issue.fields['Products Impacted'] | first | field("name") == "ABC" }}

Thanks for the help!

1 answer

1 accepted

1 vote
Answer accepted
David Fischer
Community Champion
December 8, 2017

Hi Dale,

it's documented here: https://innovalog.atlassian.net/wiki/x/rIk1C

Cheers,

David

Dale Bosserman
Contributor
December 8, 2017

Exactly what I needed! Thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events