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. @JamieA
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 :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.