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

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,055 views 15 13
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