Dear Community,
I got an single select field with 3 pre-configured options.
def availableOptions = ComponentAccessor.optionsManager.getOptions(customField.getRelevantConfig(issue))
return availableOptions
How can I set one of those, without creating a new value in a post function?
Like, pseudo code:
if (A ==
{
if (A ==
{
set single select field to option 2
} else {
set single select field to option 3
}
Best,
Kristian