Search code examples
jirajql

Jira - JQL for disclosed tickets after 5 days of moving in "Done" column


I have found one of query meant to what I am looking for,

project = SR AND issuetype = Bug AND status in (Backlog, "In Progress", "In Progress") ORDER BY created ASC

I want those all tickets to be in board except tickets those are in "Done". I am looking for JQL to set Tickets which are resolved and moved in "Done" should disappear after 5 days.

Please help. Thanks.


Solution

  • Your question is a bit unclear. I think you want to see all bugs, but tickets which have been resolved should not be displayed after five days. Then this JQL is more or less what you need:

    project = SR AND issuetype = Bug 
    AND (resolution = Unresolved OR resolved >= -5d)
    ORDER BY created ASC