Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,655
Community Members
 
Community Events
165
Community Groups

Need to get all request participants via scriptrunner clone script

Edited

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
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

427 views 3 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you