Forums

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

Help with this JQL query.

Krishna June 25, 2018

How can i get a jql query for getting all the issues which are older than 2 years.

2 answers

1 vote
Pete Singleton
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.
June 25, 2018

To search for issues created over two years ago:

createdDate < -104w

 

To search for issues that were last updated over two years ago:

updatedDate < -104w

 

You would probably want to add "AND resolution = unresolved" to filter out the older resolved issues.

1 vote
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.
June 25, 2018

Depends on how you define "older", as you could mean any of created, updated, commented, transitioned etc.

But something like

updated < -730d

should do it.

Krishna June 25, 2018

do you have something like createdDate < -2y

Suggest an answer

Log in or Sign up to answer