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

This widget could not be displayed.

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!

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

85 views 1 0
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