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

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 (https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner) would be helpful. 

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.

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

887 views 3 12
Read article

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