Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 user.name") 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 user.name") 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?

Ste

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

 

Reference:

https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/30497099/JQL+Reference+Server#JQLReference(Server)-Comments

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

274 views 8 7
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