I want to collect all the comments with @mentions in an efficient way, do we have any direct way?
I know the JQL can help, but JQL only return the issues, actually, I am looking for a efficient way to return all the comments containing @mention.
comment ~ "mention"
Hi Julie.
If you want to search for mention where you are mentioned you could try:
comment ~ currentUser()
If you want to search for comment where the just is a mention with out a specifc reference to a user, i don't believe you can do that.
The matter have been discussed here:
https://community.atlassian.com/t5/Jira-Software-questions/Find-all-mentions-in-comments-via-JQL/qaq-p/1126099
There is a feature request for it here:
https://jira.atlassian.com/browse/JRACLOUD-27594
Kind regards
Manne
Hi Manne, I know the JQL can help, but it only return the issues. Actually, I am looking for a efficient way to return all the comments containing @mention, not all the issues.
Here @mention is one user.
This way can get all the issues, but do we have any way to get all comments directly?
Out of the box there is no functionality to do that in the issue search.
I'm not aware of any apps that can provide that. But you could search marketplace.
Hi @Julie Li
What problem are you trying to solve? That is, why do this? Knowing that may help the community to offer better suggestions. Thanks!
Until we know that...
Mentions in Jira comments, text fields, etc. are represented internally this way:
[~accountid:some user's account ID]
That information could be used with JQL to identify the issues with mentions like this:
project = yourProjectName AND comment ~ accountid
The more difficult part is getting only the comments with mentions. If there are not that many issues (e.g., less than 100) and not that many comments, an automation rule could use the results of that JQL to parse out the comments and filter them, only returning the ones with mentions.
Kind regards,Bill
Hi Bill, actually I want to filter all the comments with mentioning specific user and handle these comments together quickly.
So if I can get all the comments with @mentions,;it could be more efficient.
Thanks, and I understood "what" you were trying to do; I was asking "why" that was needed. Often knowing the why can reveal other possible approaches.
As I described, an automation rule could find a limited number of such comments. To get more returned values, consider investigating the Atlassian Marketplace to learn if any JQL addons would help.
Hi and everybody who is looking for solution If you're seeking an easier alternative to JQL and want to view mentions on dashboards, give Mentions Dashboard for Jira a try.
This add-on is designed to to fetch all the comments. Add-on help you keep track of mentions you haven't responded to yet, or those where you've mentioned your coworkers and want to see if they've replied.
Add-on developed on Forge ensures secure data storageAdd-on newly released and developed by my team.
I hope you find this helpful 🚀
It looks like you're new here. Sign in or register to get started.