Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to mention the user in the comment text when using the JMWE Groovy Template

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2025

Hi Team,

We would like to add a comment to the ticket using the JMWE "Comment Issue Post Function." I want to tag (mention) both the reporter and the assignee of the ticket. I have tried various methods mentioned in other articles, but none have worked. Can anyone suggest how to mention the reporter and assignee in the ticket comment?

Both are displaying only names in plain text, not tagging users in the ticket comment.

Platform : Jira Data Center

mention.png

1 answer

1 accepted

1 vote
Answer accepted
David Fischer
Community Champion
April 9, 2025

Hi @Lakshmi CH 

To mention the assignee, you can use:

[~${issue.assigne.key}]

 however, this will only work if you have configured  the Comments field to support Wiki markup. 

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2025

Thank you @David Fischer .It worked.

For reference for anyone in the future. 

[~${issue.assignee.key}] : Assignee

[~${issue.reporter.key}] : Reporter

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2025

Hi @David Fischer ,

I noticed today that tagging the user in the comments [~${issue.reporter.key}] , it shows proper full name for some users how we do mentioning in the comments manually, but some users its just showing below. Do you know the reason ?We have all users are same, there is no difference in the user management.

Hello [~vromanko],

Hello [~JIRAUSER49346],

David Fischer
Community Champion
May 6, 2025

Hi @Lakshmi CH ,

I'm not sure why that doesn't work. If you try typing [~vromanko] or [~JIRAUSER49346] manually in a comment (after switching out of the wysiwyg mode) does it work?

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2025

Hi @David Fischer ,

Its still showing same typing manually in wysiwyg mode also.

David Fischer
Community Champion
May 8, 2025

You need to type it in Text (Wiki markup) mode and then switch to Wysiwyg to see if Jira recognized the user mention

Lakshmi CH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 9, 2025

Hi @David Fischer 

In Visual mode, it shows the full name , while in Text Mode, it displays the full email ID as our user accounts are configured.

However, in the automatic comment tagging, it appears in Text Mode without the email.

Suggest an answer

Log in or Sign up to answer