How Can I Use JQL to Fine All Issues that Have Been Reopened?

We have a workflow that allows people to reopen an issue once it has been resolved. Once an issue is resolved, it also has to be verified before it can be closed. An issue can be reopened when it is resolved, verified, or closed.

We'd like to setup a filter that looks at issues that have been reopened, with reopened being a transition, not a status. We do not have a unique status for reopened issues. Would we need to create one in order to setup such a filter? Or is it possible to do so based on the transition?

Any suggestions would be appreciated.

Thank you

2 answers

1 accepted

Well you don't have a unique status for reopened but you know where your reopen transition can end (lets say status A and B) then you can use following query

status changed from resolved to A or status changed from resolved to B or status changed from verifed to A or status changed from verifed to B or status changed from closed to A or status changed from closed to B

So you simply query all possible reopen status changes combined with OR.

If you don't have unique status for reopend issues that you should be a able to base your filter on some other field. This field should be set with some value during the transition with a post function and all other transitions should change/clear the value only the issue is no longer reopened.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

305 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot