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)
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs