Forums

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

Filter by CreatedDate problem

Yuliia Zhyliaieva
Contributor
January 19, 2021

I am using this issue and want to filter our issues that are older than 180 days. However, issues created last week are included in the results. Could you help figure out the filter?

resolution = Unresolved and createdDate >= -180d

2 answers

2 accepted

1 vote
Answer accepted
KAGITHALA BABU ANVESH
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 19, 2021

Hi @Yuliia Zhyliaieva ,

 

Please try the below.

created > -180d and resolution is EMPTY ORDER BY created ASC, updated ASC

Yuliia Zhyliaieva
Contributor
January 19, 2021

Nope, for some reason it shows issues created a couple of days ago. That was my original concern. The filter I applied that I mentioned earlier works - I derived it from basic search

KAGITHALA BABU ANVESH
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 19, 2021

Hi @Yuliia Zhyliaieva ,

Thanks for the information.

The above is showing all the created issues within these 180 days.

 

created <= -180d ORDER BY created DESC

The above shows all the issues which are created before (Today-180D) and from starting.

1 vote
Answer accepted
Alexis Robert
Community Champion
January 19, 2021

Hi @Yuliia Zhyliaieva ,

 

I think the JQL would rather be : 

createdDate <= -180d

 

For this kind of queries, I use the "basic" search as you get a nice prompt where you can choose the date range : 

 

Screenshot 2021-01-19 at 10.58.25.png

Let me know if this helps, 

 

--Alexis

Yuliia Zhyliaieva
Contributor
January 19, 2021

Thanks for the advice. Now it looks like the query should be

created <= -180d

Like • Alexis Robert likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events