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
Accepted answer
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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,401 views 15 19
Read article

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