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

Sharon Shapira December 21, 2013

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

3 votes
Answer accepted
Udo Brand
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 21, 2013

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.

0 votes
Peter T
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 21, 2013

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 Sign up to answer