Forums

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

JQL for all Open, In-Progress, backlog and closed in the last 10d= days to an EPIC?

Joyce Wright
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!
February 5, 2024

I have this filter

 

project = XXXX AND issuetype in (standardIssueTypes(), subTaskIssueTypes()) AND status in (Open, "In Progress", Backlog) AND "Epic Link" = XXXX-34638 AND resolved <= -10d ORDER BY resolved ASC

This obviously returns all issues resolved in the last 10 day for the XXXX project

 

How do I build a filter to just show all issues linked to XXXX-34638 that are in Open, Backlog, In-Progress or closed in the last 10 day?

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Hi @Joyce Wright -- Welcome to the Atlassian Community!

Your last sentence describes the query well, and the key is to separate the parts: first check the things which are true for all issues, and then join together with OR the parts which vary.  For example:

this AND that AND anotherThing AND ( sometimesThis OR sometimesThat )

For your query that could be this:

project = XXXX
AND issuetype IN (standardIssueTypes(), subTaskIssueTypes())
AND "Epic Link" = XXXX-34638
AND ( status IN (Open, "In Progress", Backlog) OR resolved >= -10d )
ORDER BY resolved ASC

Please note the parentheses which help the query match the evaluation order you want.

To learn more about creating such queries, please see this free training from Atlassian:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events