Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automation - set multi-select list values based on 2nd multi-select list values

Oliver Moore
Contributor
October 9, 2020

Hi,

I have a Jira Service Desk project which I am using to support multiple products. All of the available versions over all the products are listed in the "versions" of the Project. To limit the number of options presented to the ned user when going to a request type for a given product, I have made a custom multi-select field for that products versions.

E.g.

affects version (Jira Native)

  • A
  • B
  • C

Product list (custom field)

  • A
  • C

When an issue is created, I want to use automation to update the native Jira versions field based on the custom field values.

The following works if the custom field only contains 1 option (e.g. it contain A)

{
"update": {
"versions": [{
"add": {
"name":"{{CustomField_11567.value}}"
}
}]
}
}

 If it contains A and C, I get:

RSD-138 (Version name 'A, C' is not valid (versions))

Is there a way to copy all of the selected values in a multi-select list to another multi-select list?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events