Forums

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

How to export issues with resolution "Done" and "Closed" from last year

Soraia Luís January 16, 2024

Hello There,

I'm triyng to export issues from last year with the resolution "Done" and "Closed" but my JQL is returning issues from this year to.

project in (XPTO,XPTI) AND issuetype in (Bug, RAD) AND status in (Closed, Done) AND resolutiondate >= 2023-01-01 AND resolutiondate <= 2023-12-31 ORDER BY updated DESC, created ASC, summary ASC

Could you help me?

Thanks

2 answers

0 votes
Laurie Sciutti
Community Champion
January 16, 2024

Hi @Soraia Luís ~ you can also try:  

resolved >= startOfYear(-1) AND resolved < startOfYear()
0 votes
Sunny Ape
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 16, 2024

Trying using resolved instead of resolutiondate.

Also, unless you have other statuses other than Done or Closed for resolved issues, then adding the "status in (Done, Closed)" to the JQL is duplication, since finding issues with resolved dates is the same thing.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events