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

Suggest an answer

Log in or Sign up to answer