JQL expression for: "open issues with no activity of assignee <= -14days"


I need to find Issues where the last activity (e.g. comment) of the assignee is 14 days or older. I currently use this jql query:

assignee = "asssigne" AND (status = Open OR status = Reopened OR status = "In Progress") and updated &lt;= -14d ORDER BY created ASC

But this only shows tasks which have no activity at all within the last 14 days or older. I need to know if a supporter ignores issues even if the reporter keeps posting comments. Comments by the reporter count as an activity which removes those issues from the above query.

So, is there any way to express:

"last activity of assignee <= -14d"?



3 answers

1 accepted

First of all, thank you for your answers!

@Renjith: Unfortunately your suggestions does not work for me, since some of our support customers are also jira-developers, as JIRA is used in-house only. I needed to pinpoint if the assignee of a task ignored begging customers, regardless if the customer is a jira-dev or not.

@Nat Hobson: Your plugin hint eventually helped, I stumbled over the jql-tricks plugin which brings the function "commentedByUser("username")".

My jql query looks like this now:

assignee = "&lt;insert_assignee&gt;" AND (status = Open OR status = Reopened OR status = "In Progress") and updated &lt;= -14d and issue in commentedByUser("&lt;insert_assignee&gt;") ORDER BY updated asc


Awesome! If you wanted to clean that up a bit, you could replace your OR statements with an IN statement:

assignee = "<insert_assignee>" AND status IN (Open, Reopened, "In Progress") and updated <= -14d and issue in commentedByUser("<insert_assignee>") ORDER BY updated asc

or just "Resolution is EMPTY" for all unresolved tickets.

Your 'assignee = "assignee" isn't actually do anything, essentially your query is:

status in (Open, Reopened "In Progress") and updated <= -14d

which will show you any issues that are in one of those three statuses and have not been updated in the last 14 days. Currently JIRA doesn't support searching "updated" in conjungtion with another value (like in your example, if supported I would imagine it would be something like "updated <= -14d by user = assignee").

There might be a plugin which would extend the possibilities of "updated", however.

In your JQL add an extra argument "Last commented by a User Flag" = true

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 Apr 17, 2018 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...

800 views 2 19
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