Is it possible to filter for all issues where I have commented. It doesn't matter what I comment, but I am trying to search for all issues where it is something like "commented by = currentUser()"
I am using JIRA version (v5.2.11#854-sha1:ef00d61)
Thanks,
Nabil
Hi Nabil,
This is not available by default in JIRA, but you should be able to do this by installing the Script Runner Plugin. This will allow you to run a jql query like this:
issueFunction in commented("by username")
in JIRA advanced search.
You may refer to the following for further reference:
Regards.
why accept the answer that says you can't do this, when the 2nd answer below shows how you can almost entirely do this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I created a filter for this search
(summary ~ currentUser() OR description ~ currentUser() OR assignee = currentUser() OR worklogAuthor = currentUser() OR comment ~ currentUser() OR watcher = currentUser() OR text ~ currentUser() OR creator = currentUser() OR voter = currentUser()) AND status != done ORDER BY lastViewed DESC
To show me everywhere I'm mentioned and the ticket isn't done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would add Status Changed BY currentuser() too. I dont know if that is covered on yours
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I added "assignee was currentUser()" as well:
(summary ~ currentUser() OR description ~ currentUser() OR assignee = currentUser() OR assignee was currentUser() OR Status Changed BY currentuser() OR worklogAuthor = currentUser() OR comment ~ currentUser() OR watcher = currentUser() OR text ~ currentUser() OR creator = currentUser() OR voter = currentUser()) AND status != done ORDER BY lastViewed DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this still working for you? im not getting any results- possibly due to recent change to "user" display name GDPR stuff...?
Any part of the query that doesnt translate into an actual "assignee" (i.e. Assignee, creator, watcher etc) doesnt return a result.
This to me shows that its having trouble identifying currentUser() as a "mention" rather than an assigned user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update- the response I got on support ticket I opened is that "~" currentUser() is not supported (in Cloud at least) for anything other than "=" anymore- the documentation has apparently been updated to show that...
I'd be happy to hear if anyone has ideas for an alternative...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hoshea,
Uhm sounds strange. I've tried to copy/paste the JQL originally written by Jake and It works on my cloud instance.
It accepts ~ as well:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Gianluca,
Yeah, the query is green as in"valid", but is it returning an expected result?
I wasnt getting any actual relevant query results...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting. Yes, I'm getting the expected results
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the original query gives results because it includes XXX=currentUser (assignee = currentUser(), etc) as well as XXX ~ currentUser (text ~ currentUser(, etc)... If you remove all "=" from the query, there are no results...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like question Not active, still may help New vistiors.
Try Without using Any plugins :)
@Nabil as you are looking for where you have commented.
One Simple Workaround in JIRA is to looks for your Proflie.
1. Go to your profile, Navigate to Top Right Corner of the page
2. Check Activity Stream for the user (This will List all activities and comments)
3. Similary JIRA will give Links to other user profiles whenever they are Tagged/Mentioned and you can check comments or activities by other users.
May Not be directly applicable to all as depends on the use case, still hope this helps as no additional plugins are needed for this.
Regards,
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! This is all I was really trying to do - show the issues I've updated, usually via comment. Was really not relishing installing a plugin just to get that search function :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for the solution. Really helped me sort out my tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should this still work? My profile contains no such link.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very helpful. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Tried this on mine. Would have worked but it only displays 25. I need to go back over 200 or so tickets to find the one comment I need to remove as it no longer applies. I am on dozens of projects and create, read, update, and delete dozens of tickets per day. So close!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
See https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.utils
I have implemented JQL functions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, is this native yet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what worked for me.
I added a custom field of type "People" to my ticket and I called it 'Commented by'.
next I inserted an automation rule triggered by a 'ticket commented' event and I added a custom action that updates the 'Commented by' field as follows:
{
"update": {
"Commented by" : [
{
"add": {
"id":"{{issue.comments.last.author.accountId}}"
}
}
]
}
}
With this rule, every time a ticket is commented, the commentator is appended to the 'Commented by' field. In other words, all tickets have the list of all the people who have commented them.
This said, it's very easy to use this 'Commented by' field in a query to extract all tickets commented by me or any other user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'd like to do the opposite, show tickets where I'm NOT the latest comment.
I need to filter all tickets where i need to respond.
Have an automation for this that sets the status to "waiting reply from customer" and "waiting for my reply", but that only works on tickets created after the rule.
Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, please,
can I make a filter (jql) to search comments by name of user? like:
"project = "XYZ" AND issueFunction in commented("by curentUser")"
It gives me a list of issues where the user has commented but I wanna know how many comments exactly the curent user have in project.
If there is a possibility to get the filter into a gadget, it would be perfect.
Please, any advice?
Thankx
Veronika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Jira Comment Toolbox to filter issues according to comments with new JQL functions listed below.
Moreover, You can contact with info@kostebekteknoloji.com for your new JQL function requests and comment functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if that functionality exist at the moment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.