Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to find JIRA issues that were recently commented by anyone but me?

Hi team,

I read this discussion and learned how to filter Jira tickets that were commented on in the last 24 hours.

I want to slightly modify this filter by not including those tickets that were commented by myself.

In the answer of my mentioned discussion, the following line will find the tickets that were commented on in the past 24 hours by user Irina:

issueFunction in commented("after -1d by irina")

Is it possible to modify this function so that it excludes user "irina" and includes everyone else? Certainly it does not work if I insert "not" between "by" and "irina".

My purpose is to create a filter where I see all the tickets that are assigned to my queue and these tickets were commented on in the past 24 hours by someone else (but not myself).

Here is my current query for reference:

assignee = tomas AND status != Closed AND status != Resolved AND issueFunction in commented("after -24h")

I'm using Jira Server v7.12.1

Thank you

2 answers

1 accepted

1 vote
Answer accepted

Hi @tomas

You can use NOT prior to the query itself to find issues that don't match a filter - so for example:

issueFunction NOT IN commented("by") AND issueFunction IN commented("after -24h")

^ This query locates all issues which have NOT been commented on by a specific user and received a comment within the last 24 hours.

The limitation with the filter is it will not return issues you have commented on previously at all - as it's not a time-specific NOT query before the AND.


An alternative is to use "last comment" although this limits the search parameters to just the last comment made:

issueFunction not in lastComment("by") and issueFunction in commented("after -24h")

^ This will return any issue where the last comment was not a specific user but it has received a comment within 24 hours. You might have made a comment 3 hours ago though, just not the last one.


Do either of these work for you? Or do these limitations cause issues?


Hi Stephen, thank you for the tips. The second option works very well for me.

0 votes
Muhammad Ramzan Community Leader Jun 20, 2020

You can achieve this using third party plugins, there are few available in market. I used ScriptRunner and JQL Search Extensions


Here is the example of JQL Search Extensions for Jira & reports 


You can use group

issue in commentedBetween("2018-05-26", "2018-07-01") and issue in commentedByUser("membersOf(employees)")


You can use single member

issue in commentedBetween("2018-05-26", "2018-07-01") and  issue in commentedByUser("filip")



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

131 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you