Since the latest 5.1.3 JIRA upgrade the @mention utility has been improved considerably.
I would like to know if there exists any JQL instruction to query in which issues I (or any other user) was specifically "mentioned"?
it does work with JQL - here for example is a JQL which I use to provide Users with a list of Issues where they have been mentioned during the last 7 days:
(summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()) and updatedDate >= -7d
So, I struggled with this myself quite a bit and none of the above answers worked out for me. The only workaround I found is hardcoding the id of the user (sigh!, why Jira?) and then using jql like this :
comment ~ 551000:10eea9db-900e-4000-9bf0-f9000ceee7d5 AND updatedDate >= -7d AND status not in ("Done")
In chrome :
To get this id, right-click on a comment where the user is tagged and click inspect element.
You will see a <p> tag and if you expand that you should have one of the <span> tags with data-mention-id of the user you want to search for.
thanks for mentioning this, but I knew this already :)
I just thought that if they add this cool feature that there should be a way to filter for issues where you've been mentioned as they might be issues where you're none of the regular roles (assignee, reporter, watcher,...) that already exist and for which you can filter.
I found this issue talking about this feature: https://jira.atlassian.com/browse/JRA-27594 and as mentioned there (I've also tried in my environment) filtering for @mentions doesn't work.
Let's wait if some more people vote on the forementioned issue to get it implemented.
As I know mentioning is only used to share the issue with other users (the same behavior like using Share button) and send a notification. It is not possible to achieve a search who was mentioned in a particular issue.
You can only search for issues that a particular user is watching or voting using:
like for example..
watcher = someone, watcher = currentUser()
If you want that kind of feature you can create a new request. For more information about how Atlassian implement New Features, please see the Implementation of New Features Policy.
I hope that will help
I am using the following JQL to create a filter on @mentions:
comment ~ currentUser() and updatedDate >= -30d
It works, however, when I've gone and deleted the comments I was mentioned in (they were for testing the filter) - they still show up in the search! Is the JQL searching the history and not the comments that actually exist? Is there another JQL that will only display the items I'm still actively mentioned in?
I'm using JIRA OnDemand (6.2 as of right now I think?).. and this does not work as I expected
I expect to get a list of issues where I have been mentioned using @ + myname
However, I do get a list of issues where my name has been mentioned as text in a comment, but not as an actual @mention
Anyone having this same problem?' What is the JQL query for this?'
I tried the JQL: comment ~ currentUser()
I know this is an old question, but I just ran this JQL and noticed that it only returns issues where currentUser() is mentioned in the LAST comment. It didn't locate issues where currentUser() was mentioned in other comments besides the last one.
Has anyone else seen this behavior?
I haven't seen that, but this filter is not working quite right for me. It is not showing all tickets that a user is mentioned in. I can't figure out what's different about the tickets that are showing up compared to the ones that are missing (they're in the same project, same workflow status, same issue type, etc.).
This one works for us.
(details ~ currentuser() OR comment ~ currentUser()) AND updated >= -7d AND status not in (closed)
HOWEVER, it is for the current user. I want to see a specific person that was mentioned as he will be OOO. I think in a comment above someone alluded to that this cannot be done.
I found it!
This use case is to cover for someone that is OOO, so the fact that it captures the comments it creates is not an issue.
(comment ~ mmouse OR details ~ mmouse) AND updated >= -1d AND status != Closed
and as someone mentioned, go to this ticket and vote for it.
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