Hello,
I'm trying to use the script listener to read the value of a custom field drop down list and I can't get to the value.
Here is my code:
def variable1 = issue.fields[variable1CfId] as String
And variable1 is a single dropdown list field. How can I get the option value now?
variable1 and variable1.value both return a map:
[self:https://pnw-pmo.atlassian.net/rest/api/2/customFieldOption/10131, value:Yes, id:10131]
I basically need to read "Yes". How can I retrieve it? I cannot access Option object there (import throws exception)
Did you ever figure this out? I have a similar issue?
Thanks
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.