Forums

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

How to use JQL search created date past 180 days issues?

Jason Liu
Contributor
January 8, 2023

I want to ask if I can have a JQL to search create date till now has past 180 days issues. I want exact 180 days issues, not more than 180 days or less than 180 days. Is that possible?

2 answers

2 accepted

4 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
January 8, 2023

Hi @Jason Liu 

You can use the following JQL

created >= startOfDay(-180) and created <= endOfDay(-180)  
Jason Liu
Contributor
January 8, 2023

Thank you so much Alex.

1 vote
Answer accepted
Ste Wright
Community Champion
January 8, 2023

Hi @Jason Liu 

Do you mean a JQL to find issues created within the last 180 days (up until now)?

If so, use this JQL:

createdDate >= -180d

Or, do you mean issues created 180 days ago (not 181, not 179)?

If so, something like this should work:

createdDate > -181d and createdDate < -179d

^ IE - the created date is after 181 days, and not less than 179 days, leaving 180 days inbetween

Ste

Jason Liu
Contributor
January 8, 2023

Thank you so much, Stephen.

Like Ste Wright likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.2
TAGS
AUG Leaders

Atlassian Community Events