JIRA JQL: how to filter issues that changed assignee X or more days ago?

I'm trying to make a filter to see any issues that has been in a user queue for 7 days or more. I used the last updated date, but as this is not perfect as any updates to the issue changes this date. I want a filter to display any issue where the assignee was set 7 days (or more) ago.

Any help appriciated!

What I currently use:

Assignee in (user1, user2, user3) AND updated <= startOfDay(-6) AND status not in (Closed, resolved) AND issuetype in (Improvement, Bug)

4 answers

Hey Jjohansen.

I think you can use an JQL like this:

assignee=currentuser() AND assignee changed after startOfDay(-7)

Just note that I usent the value currentuser() in my query, in your case you can use something like assignee in (value1,value2,value4)

Also this query will list all the user issues without filtering by status you can add it if you want.

Hope this helps!

Thanks Diego,

Unfortunately this does not work as expected. It seems this filter display issues where the assigne was changed to any user more than 7 days ago and not just the current assignee.

Would it be possible to do something like:

assignee=currentuser() AND assignee changed to currentuser() after startofday(-7)

I tried to dabble with it but had no luck unfortunately.

Anyone?

To try and clarify a bit I want a filter than display the following:

  • Assigned to multiple users
  • Has been assigned to any of the users for 7 days or more

I am interested in this functionality as well. I am trying to implement a filter that shows all the recent Jiras I have worked on and order them by date (relative to when I have worked on them)

Alana Fernando Community Champion Aug 01, 2017

I suppose below JQL works. but working on a issue should have been capture by issue status change. 

status changed by "alanaf"

alanaf should be replaced by user name you want to add

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

47 views 0 2
Read article

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