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

Dale Bosserman 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 8, 2017

Hi Dale,

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

Cheers,

David

Dale Bosserman December 8, 2017

Exactly what I needed! Thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events