Forums

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

Filter query for a range of days

Natalie Church
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!
April 29, 2019

I am trying to do a filter query to show how many issues between 20 and 49 days old, however when I use the 'in range' query on the 'created date' filter, it doesn't seem to work and will bring up something created 3 days ago

 

project = *** AND created >= -20d AND created <= 49d

 

I am fairly new to Jira and not really a developer so I might be putting in an incorrect value in there. Can anyone help?

 

Thanks 

2 answers

1 accepted

3 votes
Answer accepted
Tyler Brown
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.
April 29, 2019

Hey Natalie,

Try using this query:

"project = *** and created <= startOfDay(-20d) and created >= startOfDay(-49d) "

Tyler

Natalie Church
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!
April 29, 2019

Thank you this has worked 

0 votes
Jack Brickey
Community Champion
April 29, 2019

i think you want this

created <= -20d AND created >= -49d

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events