Hello,
I have a queue in Jira Service Desk called "Where I'm mentioned". The JQL for this queue is: (summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()) AND status not in (Solved, Closed) ORDER BY priority DESC, updated ASC
Lately this query returns an empty result, which is wrong because I know I’m mentioned in comments of some tickets. What is going wrong in this JQL?
Thanks in Advance.
Hi Anton,
currentUser only works with actual user fields like assignee or reporter and @mentions.
To the best of my knowledge, this has never been different.
It is possible to @mention in descriptions and comments, so your JQL will work with that. Just plain text user names in summaries (always, you can't @mention in a summary) , descriptions, comments or plain text fields will not trigger with this JQL.
- Tessa
Hi Tessa,
Thanks for you answer.
The strange thing is that the query use to work fine.
For example if I change the query to:
(summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()) ORDER BY priority DESC, updated ASC
I get all closed tickets where I was mentioned in the comments. But the query does not show any open tickets where I’m mentioned. Again I’m sure there are open tickets where I’m mentioned in the comments.
Do you have any other suggestions?
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
I must correct what I said before, apologies.
The search engine works with usernames, so a flat text of the username itself (not display name) does trigger the JQL, where ever it is used. Something I learned today, so thanks for that :D
As it is based on the "flat" username, is it possible there was a change in that department somehow?
Any other changes happened since it stopped working?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tessa,
Nothing has changed in our company, other than a change in a couple of Jira Service Desk agents. But they all were/are in the same rights group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anton,
I have been tinkering to try and recreate your problem, but it hasn't worked out so far. Could you maybe share your query with us? Perhaps the community can help better that way.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tessa,
My query is:
(summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()) AND status not in (Opgelost, Gesloten) ORDER BY priority DESC, updated ASC
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.
Hi @Anton ,
thanks for sharing this and I'm so glad your problem is solved with the new update!
Sorry I couldn't be of more help.
Have a great day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.