Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

JQL query for issues in a status for longer than 30 days

Deleted user May 27, 2021

Can someone help me with a query to pull all stories that have been in a certain status longer than 30 days?

2 answers

1 accepted

7 votes
Answer accepted

Hi @[deleted]  -- Welcome to the Atlassian Community!

I believe this will do what you ask.  Please substitute your project and status names.

project = myProject AND status = myStatus AND NOT status CHANGED AFTER -30d

And, please look here for more information about advanced JQL searching:

Best regards,


Deleted user May 27, 2021

Awesome!! That did the trick! I appreciate your help :)Thank you!!

Like Bill Sheboy likes this

Jennifer, I am glad to hear that helped you!

And as an FYI, we use quick filters like this to help our teams using company-managed projects (classic) who have a lot of work in progress (WIP).  Checking during the stand-up for things that haven't moved in a while can help start useful discussions.  Such as: NOT CHANGED AFTER -3d


Praise you, Bill. This worked finally. Not sure why this is so hard and everything is only made easier by a plug-in. Some of us can't get project funding for plug-ins. This is great.

Like Bill Sheboy likes this

Hello All,
This is good , my question is can I perform the same query for issues which have stalled in the same status (for a certain amount of time) at some point in time? so it does not necessarily need to be in "that" status as of now. 
Any suggestions? Thank you

Hi @Barış Baysal 

Mostly, in a few ways...You can do is check if the status did not change DURING a window of time:

project = myProjectName AND NOT status CHANGED DURING (date1, date2)

You could also use the AFTER or BEFORE operators, if those would better match your needs.

You may also use the relative date functions, such as startOfYear(), in place of date1 and date2: 

Kind regards,

0 votes

Hi @[deleted] 

   Tell us how you want to do the query with what data, even with false information to help you, maybe something like this

    Issuetype = "HU" and status = XXX and createddate >= 30


That doesnt seem to work- I need to pull all stories, bugs, etc. in a project that have been in the "UAT" column for greater than 30 days

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events