Search filter using the Created field

ka wai chan 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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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