Forums

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

Filter all issues since the oldes not closed issue

WM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2020

Hi!

I need a filter that returns all issues that have been created since (or after) the oldest issue in the project that has not yet been closed / resolved.

Something like:
project = PROJECT1 AND Created > ( Created of the oldest issue with Status != Closed )

Any ideas?

1 answer

0 votes
Callum Carlile _Automation Consultants_
Community Champion
June 3, 2020

Hi @WM ,

You can achieve this by using the resolution field. By default, statuses like Done and Closed should automatically set issues to 'resolved' (you can also create custom statuses and custom resolutions to do the same).

You could use the filter of: project = PROJECT1 AND resolution = resolved ORDER BY created ASC

Here, you can replace 'resolved' with any set list of resolutions, in the format of ("res1", "res2", "res3"....). This will remove all issues which have been resolved from the filter, so adding the 'ORDER BY created ASC' will order the list displaying the oldest unresolved issue first.

You can filter the resolution date by a date range, or 'within the last/more than x mins/hours/days/weeks ago', but unfortunately can not set this range based off the resolution date of a specific issue.

Hope this helps!

WM
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2020

Hi @Callum Carlile _Automation Consultants_

thank you for the quick reply.

Unfortunately the last paragraph is what I am looking for. Filter for all the fields works fine. But..I am just looking for all issues regardless of their status or resolution, within a relative period of time, starting with the oldest unresolved ticket until today.

So there is no filter for that, I guess?

Suggest an answer

Log in or Sign up to answer