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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

90 views 0 5
Read article

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