Hi there,
I have a custom field with a drop-down menu, and I would like to get the value of it, I was checking via API how it looks and for some reason, I'm getting this
"customfield_11905":[{"self":"https://my-jira.com/rest/api/2/customFieldOption/11800","value":"Lab","id":"11800"}]in my grrovy script I have this
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def cFieldName = customFieldManager.getCustomFieldObject("customfield_11910")
How can I get just the "value":"Lab"? any idea ?
Thanks