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.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.