Forums

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

Search filter using the Created field

ka wai chan
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!
January 27, 2021

Hi,

I am trying to create a filter query to identify issue with Created field greater than 180 days, but when I use query Created > 180d, it doesn't return any record eventhough there are record over 180 days in the backlog.

Please could you advice.

Kind Regards,

Ka Wai

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
January 27, 2021

Created > 180d means "issues created more than 180 days in the future". 

This is because time is counted as a single number "since" 1st January 1970, so if that day was 1, then 1st January 1971 was 365, 1st Jan 1972 was 730, and so on.  When you say "180d", you're adding a further 180d to "now"

Try Created > -180d if you want "issues created within the last 180 days", or Created < -180d for "issues created before 180 days ago"

0 votes
ka wai chan
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!
January 27, 2021

Thank you for your response, I have figured it out by using yyyy/mm/dd instead of days, and you are right, I should use < rather than > in my query.

Thanks

Suggest an answer

Log in or Sign up to answer