Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

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

Suggest an answer

Log in or Sign up to answer