Hi,

I'm looking for a JQL query to find all issues older than for a specific no. of day (say 2) for 'xyz' Project's resolved issue.

Please suggest,

Thanks,

Regds,

Pawan

3 answers

1 accepted

Hi Pawan,

This should do it for you

project = "xyz" and resolutiondate < "-2d" and status != "Closed" and status != "Fixed"

Hi Pawan,

If you are looking for issues created before 2 days for project "xyz", your query will be

project = "xyz" and created <= "-2d"

Check the documentation here

https://confluence.atlassian.com/display/JIRA/Advanced+Searching

You should be looking at the third example in "Greater than equal to" operator and use similar technique with "Lesser than equal to"

Thanks Bhushan,

But I'm looking for a JQL query to find issues that have been 'resolved' in a project exactly before 2 days.

Please suggest.

Regds,

Pawan

resolution changed from null to "Fixed" on "-2d"

You can changed Fixed to the resolution you are using

Hi Bhushan,

Request you to suggest the complete JQL query .. plz.

project=xyz AND status = resolved and .... ???

Please note that I need resolved tickets older than 2 days only and not fixed/closed issues.

Thanks,

Regds,

Pawan

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you