Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Need to get all request participants via scriptrunner clone script

Bentsion Berg April 27, 2022

Hi, 

We are using the scriptrunner built-in "Clone" script to clone issues with attachments. The current implementation does not clone the request participants. By adding the following line of code into the "Additional Code" section, I am able to get one participant but not if there are multiple participants on the issue.

Can anyone help me out?

Thanks!

-Ben

issueInput.fields.customfield_10027 = issue.fields.customfield_10027

PS: I did find this post that has code that posts hardcoded multiple participants, 

can it be adopted for my use case? Not sure how.

Thanks!

https://confluence.atlassian.com/jirakb/add-request-participants-automatically-when-creating-an-issue-in-jira-server-777026955.html

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events