Hi
In an automation triggered on issue linked I want to copy the linked issue to another multi issue picker field.
The code for updating a multiselect is
Issues.getByKey('ABC-1').update {
setCustomFieldValue('Multi Select List', 'A', 'B')
}but how do I repalce A,B with a variable?
If I use
def myissues = "'abc-123','abc-345'"
setCustomFieldValue('Multi Select List', myissues)
then I get an error because it takes 'abc-123','abc-345' as one single issue and not 2 comma seperated.