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