Example scripts
To homepage
Jira

Get multi select list field options
App in script

ScriptRunner For Jira
by Adaptavist
Compatibility

Jira
Language |
groovy
//Get the issue
def issue = Issues.getByKey('<IssueKeyHere>')
//Get the custom field value for the issue by the custom field name i.e. "Teams To Notify Of This Change"
//We know that it is a multi select field and we cast the result to a Map so we can extract the value of each option
def values = issue.getCustomFieldValue('<CustomFieldNameHere>') as Map
values*.value
Having an issue with this script?
Report it here