status changes before -7d returns me issues that has changes from today

I'm trying to find issues that did not have any status update in the last 7 days.

so I'm filtering by:

status changes before -7d 

but this returns me issues that has changes from today?

Any help

1 answer

1 accepted

@Shaya Brach

The issues that you are getting are right for the SQL as "status changes" does not just pick up the last status change but any status change. I believe that you need the following.

status changed before -7d AND NOT(status changed after -7d)

To retrieve items that have changed status before 7 days ago and have not had a subsequent change since then. If you just use NOT(status changed after -7d) then this will pick up lots of new issues that have not yet progressed.

Hope this helps.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

151 views 1 17
Join discussion

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