Hello everyone
I've searched far and wide but couldn't find a solution appropriate for my issue.
In one of my listeners, I'm able to get the string value of my custom dropdown box like so.
def ComponentAccessor = com.atlassian.jira.component.ComponentAccessor
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def KasseCF = customFieldManager.getCustomFieldObjectByName("Kasse")
def issueKasse = issue.getCustomFieldValue(KasseCF)
This will return the exact displayed value and not the ID.
How can I get the same result in my behaviour?
I've tried using .getValue() and also almost the same setup above but instead used underlyingIssue?.getCustomFieldValue(KasseCF) since "issue" seems to be unavailable in behaviours but both options returned the ID of the selected option...
Can someone help me out here?
Thanks!