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

Atlassian Community Events