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

This widget could not be displayed.
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.

//jql

//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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

134 views 1 3
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