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

0 votes
Accepted answer

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.

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,904 views 19 22
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