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

carlos andrade 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

Suggest an answer

Log in or Sign up to answer