Hi,
I am using Script Listener version 1.7.13 on Jira 4.1.1
I have a script listener that looks for issues with a custom field like so:
cfValues['Severity'] == '1'
-- this condition works great. The customfield type is select/selectsearcher
However, when I try to look for something that is in a multiselect/multiselectsearcher field, it is returning as false. Example:
cfValues['External Customer'] == 'Test User'
This also returns as false:
cfValues['External Customer'].value == 'Test User'
This also returns as false:
cfValues['customfield_11006'] == 'Test User'
....
Based on some posts I found online, I checked to see if customfield was being represented as an array, and that it contained 'Test User' So I modified my condition like so:
cfValues["External Customer"] && cfValues["External Customer"]?.value.contains("Test User")
Still returning false.
At this point I am stumped...
Any tips appreciated!