Hi All.
I have been wrestling with accessing the selected values of a multi-select custom field.
This is in a CLOUD script postfunction.
The basic use case is:
If "A" is one of the cf_multi selected options, then cf_stringA = "Yes".
If "B" is one of the cf_multi selected options, then cf_stringB = "Yes".
etc...
I have not been successful at getting to the values in cf_multi.
For example, when trying cfValues , I get variable [cfValues] i undeclared
cfValues = issue.fields["customfield_16427"]?.value
When adding the def, I get no such property on "issue"
def cfValues = issue.fields["customfield_16427"]?.value
Unsuccessfully tried other methods as well but did not find the fit for cloud postfunction
A bit of cloud script postfunction example code that correctly accesses the multi-select options selected for comparison would be a big help and GREATLY apprecieated.
Thanks very much
Mordechai