How to bulk update issues from within a listener Edited

I am looking for advise on the proper Scriptrunner groovy sequence to update few dozens of issues (up to a 100) during listener execution. In essence, I am processing a JQL query in my listener script and based on a condition I would like to update a field in some or all of the issues in the query results. @Jamie Echlin [Adaptavist]

1 answer

1 accepted

0 votes
Gaston Valente Community Champion Sep 01, 2017

Dmitry, i think that one by one is the only way.

Maybe i'm wrong but that's the way bulk update work in standard jira.


//fetch results

// for loop

     // process each issue

it's important to check before every update that the issue can be updated ( in some workflows closed issues cannot be updated ) or include this logic at the jql avoiding those issues

Thanks Gaston, you are probably right, I guess I was hoping for a miracle :-)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot