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

Suggest an answer

Log in or Sign up to answer