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)

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,881 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot