Hi all,
I'm trying to pull all option IDs from a specific multi-select customfield via Scriptrunner's console.
So far I have the following, but it just gives me "Null" as the output. Can someone please help?
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
@BaseScript FieldBehaviours fieldBehaviours
def selectBrandsField = getFieldById("customfield_11808")
log.warn(selectBrandsField)
selectBrandsField.getFieldOptions().each {println("$it.value")}
Thanks,
Mike