Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to put a filter finding tasks/bugs that are marked done but have been reopened in the past.

Aysha Ahmad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 4, 2023

I want to put a filter finding tasks/bugs that are marked done but have been reopened in the past. Like it shows in the history.

1 answer

0 votes
Walter Buggenhout
Community Champion
January 4, 2023

Hi @Aysha Ahmad and welcome to the Community!

JQL filtering does allow history searches on status, but it depends very much on how you built reopening an issue in your workflow. It is possible to perform a search like this:

Status = Done AND Status was Reopened

This search would return all issues that are now in status Done, but have been in status Reopened in the past.

In many cases, however, an issue is reopened by going back to e.g. an Open status, a status that is also used when an issue is created and goes through the normal steps to completion. In that case, your search would return all issues, which does not solve your requirement.

If your reopen transition does reuse a previous status of the workflow, I would recommend you add a post function or an automation to the workflow to update a field on your issue (that you can create yourself, like a checkbox) to indicate that the issue was reopened. That way you can easily search by that field for reopened issues instead.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events