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

Hi,

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"?

Cheers,

Markus

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

Cheers,
Markus

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.

0 votes
Renjith Pillai Community Champion Feb 04, 2013

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

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,831 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