The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Comparing contents of a custom "Select list (Single choice)" field with ScriptRunner

carlos andrade
Contributor
February 21, 2024
I have a "Select list (Single choice)" custom field that can have a value of "Yes", "Pending", and "NA". How can I check this custom field for "Pending"in a transition using ScriptRunner script? I tried using cfValues['Field Name'] == "Pending" but it didn't work. Probably because I am comparing a list to a text string. 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.