Hi,
How can I read the value of a drop-down custom field in Groovy on Jira Cloud? For now I'm using split token which is quite retarded:
def myDropDownList = issue.fields[myDropDownListCfId] as String
String[] tokens = myDropDownList.split("[,: ]");
String myDropDownListOptionValue = tokens[5];
I'm sure there is a better way! ;)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.