Automating Issue Status Changes in Jira

I know JIRA has a concept of "dependencies" between issues.  We have some users who would like to automate the opening of issues based on these dependencies.

For example, let's say you have 100 issues in your JIRA project.  All issues would start in a (custom) 'Wait' or 'Not Ready' state.

After the first 10 issues are complete (marked 'Resolved' or 'Closed'), the next 10 issues would flip from some sort of (custom) 'Wait' state to a 'Ready' state.  After these 10 are complete, another group would flip to a 'Ready' state.


I understand this would probably involve some sort of custom issue states, but is there anything that allows for automating the changing of JIRA issue 'Status' fields as I am describing? We are currently using an older version of JIRA (5.2.5) but are in the process of upgrading if that matters at all.

3 answers

This widget could not be displayed.

I don't know of any native way of doing this. One way to do it is to create a postfunction on your transition to Closed or Resolved that fires a script. That script would count the number of closed issues matching your criteria and change the status of issues matching another set of criteria.

To achieve this, you will need the custom status you were talking about and a plug-in like Script Runner ( would be helpful. 

This widget could not be displayed.

Yes there are plenty of ways to accomplish this just like what Nicolas gave you. Have a look at JIRA Misc Workflow and JIRA Suite Utilities too.

This widget could not be displayed.

Thank you, I will look into both of those and see if they do what we are looking to accomplish.

Sure. Let us know how it pans out for yah :)

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...

256 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