The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

how to make JQL filter for issues the status not changed over 10 days

NEGAR JALALIAN
Contributor
November 7, 2019

Anyone can help with this ?

I know it is possible to make a filter based on status changed from X to Y .

but what I need to make is : a filter of issues that their status was not changed for long time ... 

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

11 votes
Answer accepted
Pete Singleton
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 Champions.
November 7, 2019

You can use "NOT Status Changed AFTER" in your JQL query.

For example:

Project = X AND NOT Status Changed AFTER -10d

This would show issues where the status has not changed in the last 10 days.  However, this would also show new issues created in this time.  To remove these:

PROJECT = X AND NOT Status Changed AFTER -10d AND Created < -10d 

 

NEGAR JALALIAN
Contributor
November 7, 2019

Hi Pete , this worked but it included the close issues too .. 

how about a filter that tells those issues with the status of X,Y,Z that status not changed for more than 10 days ...

Pete Singleton
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 Champions.
November 7, 2019

Just add "AND Status in (X, Y, X)".   Or alternatively "Status != Closed"

Like NEGAR JALALIAN likes this
NEGAR JALALIAN
Contributor
November 7, 2019

thanks a million  Pete ! it worked :)

Like Pete Singleton likes this
Andrew L
Contributor
February 24, 2020

Hi

How do i query for "status has NOT changed for exactly X days"?

Thanks

--Andrew

Sara Engels
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!
July 21, 2022

@Pete Singleton I don't seem to be getting accurate results when trying these queries in Jira Cloud- is that expected

0 votes
Ravi_P
November 7, 2019

Try this:

status changed from X to Y before startOfDay(-10)

NEGAR JALALIAN
Contributor
November 7, 2019

this won't cover my requirement .. because I don't mind the target status .. all I care is those issues people missed to work on it