Hi am new in Jira and I currently working on a script.
I was able to get now the value/s of Sytems custom field since the log.debug outputs the values selected.
However it doesn't proceed in the IF CONDITION. Is there other way so that I can access/use the values of a multiselect custom field?
Here is my code.
def systemField = ComponentAccessor.customFieldManager.getCustomFieldObjectsByName("Systems")
def systemValue = issue.getCustomFieldValue(systemField)
log.debug systemValue
if ("Jira" in systemValue) {
do something..
}
else ("Bitbuclet" in systemValue){
do something..
}Any suggestions is a great help.