Forums

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

Jira query: Closed no older than 10 days

Deleted user December 2, 2021

Hi everyone,

How can I change the below query, so it shows all statuses and (closed task should be hidden if older than 10 days)?  

project = CBO AND issuetype = "Project Issue" AND status in (Backlog, Closed, "In Progress", "To Do") ORDER BY created DESC

Many thanks in advance.

p.s I am using the cloud Jira version.

Nat :)

1 answer

0 votes
Antoine Berry
Community Champion
December 6, 2021

Hi @[deleted] ,

This should work based on the resolution date : 

project = CBO AND issuetype = "Project Issue" AND (status in (Backlog, "In Progress", "To Do") OR (status = Closed and resolutiondate >= -10d)) ORDER BY created DESC

You could replace resolutiondate with created or updated depending on your requirement.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events