The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automaticly (using script runner) change one status to another on inactive workflows?

LAMBEZ
March 24, 2020

Hello,

I need to How to automaticly (using Script Runner) change one status to another on inactive workflows.

I can't find any object or methods that manage workflows and change them.

My case is :

1) Find all workflows that are using the Status AA. (Done)

2) Copy all these Workflows INI to WF-Clone (Done)

3) Change Status AA to Status BB on WF-Clone (<-- I need this)

4) Replace Workflow INI with WF-Clone on the projects. (<-- And this also ...)

5) Delete the A status (nevermore used)

 

I would like to do that using Script Runner to avoid acting manually on the 500+ workflows of my Jira Instance.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question