Forums

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

Copy Single value from Multi selected Field value During Transition

Prathap DL
Contributor
July 22, 2024

Hi Community,

I'm Auto creating tickets using JMWE Create issue's Post function. I have a Multi select Custom Field in Parent ticket. When i select 2 Values from the custom field and do the transition then 2 tickets will auto created and linked with parent.

I have single line Custom field in Auto created Child ticket. Now my requirement is Based on the Multi select custom field values Childs tickets are creating. Now i want Single value from Multi select field should copy to each auto created chile tickets.

Ex: Parent ticket Custom field Values: "Test 1", "Test 2", "Test 3"(3 values are selected)

Auto Child ticket 1 Custom field value: "Test 1"

Auto Child ticket 2 Custom field value: "Test 2"

Auto Child ticket 3 Custom field value: "Test 3"

 

Can i achieve this through JMWE Post-creation script which is there inside Create issue's Post function?

Or Please suggest any other options.

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Suprija Sirikonda _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 22, 2024

Hi @Prathap DL,

In the JMWE Create issue(s) post-function, select the desired text field under “Set specific fields of new issue(s)” and add the below template:

{{ it }}

This will set each iterator value (the multi-select field value in your case) to the text field of each of the newly created child issue(s).

See the documentation here for more details. 

 BTW, I'm from Appfire, the vendor of JMWE.

Regards,

Suprija

Lead Product Support Engineer - Appfire

Prathap DL
Contributor
July 23, 2024

Hi @Suprija Sirikonda _Appfire_ 

 

It worked. Thanks for the support.

Suggest an answer

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

Atlassian Community Events