Forums

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

Query for finding issues that were resolved in less that 7 days from the created date

Gonzalo Panelo
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!
August 22, 2018

Hi-  I need a filter to show the issues that were resolved in less than 7 days from the created date. Is it possible? EG: Created: 08/01/2018 Resolved 08/05/2018 should be shown in the filter.

2 answers

0 votes
Piotr Bojko
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.
August 24, 2018

Following query 

SELECT * FROM issues 
WHERE resolved < CREATED + INTERVAL '7' DAY

from Smart QL https://marketplace.atlassian.com/apps/1218767/smart-ql?hosting=server&tab=overview should help.

0 votes
Mohamed Adel
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.
August 22, 2018

Hi @Gonzalo Panelo

You can solve this with script runner plugin by using the following query :

issueFunction in dateCompare("", "resolutionDate < created+7d")

I hope this will help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events