Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Markus Flaig
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 3, 2013

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

1 vote
Answer accepted
Markus Flaig
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2013

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

Natalie Hobson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2013

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
:)
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 25, 2013

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

Like Miguel Sousa likes this
1 vote
Natalie Hobson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2013

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2013

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

Suggest an answer

Log in or Sign up to answer