Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira query: Closed no older than 10 days

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 Leader Dec 06, 2021

Hi @natalia_kozik ,

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
Site Admin
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you