The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Mention/tag user within a comment via an automation rule

Christopher Everett
November 23, 2023

I'm trying to mention or tag a user within a comment via an automation rule.  We're using Jira Data Centre and I have scoured other's posted questions, and while there are a lot of suggestions, none seem to work for me.

Is there any one that has had experience with mentioning a user within an automation rule within Jira Data Center?

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Ste Wright
Community Champion
November 23, 2023

Hi @Christopher Everett 

For DC, this should work:

[~{{issue.assignee.name}}]

Change "assignee" to the relevant field (eg. reporter, etc).

Ste

Christopher Everett
November 24, 2023

Thanks for the reply Stephen,

What if the user that I need to mention is not the assignee or the reporter?  I actually need to mention two people who handle a certain part of a workflow and as a result, they aren't tied to the issue at all and this our way of letting them know that the issue is ready for them to do what they need to do.

So is there a way to mention someone in a comment directly as opposed to having to refer to a specific issue field?

Ste Wright
Community Champion
November 24, 2023

Hi @Christopher Everett 

How are you identifying them? Is it just via their static username?

If it's username, this should work:

[~UserName]

Ste

Like Sharath BM likes this
Christopher Everett
November 24, 2023

Yup....this worked.  Not sure how I missed this given that it was one of the first ones I tried.  In any case...I really appreciate it!

Like Ste Wright likes this
Abdullah Said
Contributor
December 3, 2024

in 2024 no such thing as username, only email and full name

Ste Wright
Community Champion
December 26, 2024

Hi @Abdullah Said 

In DC? Or in Cloud?

Ste

3 votes
Uladzislau Samuseu
Contributor
April 15, 2025

For Jira Cloud by this format: [~accountId:{{creator.accountId}}]

0 votes
Juergen Lanner
Contributor
June 13, 2025

Hi all,

the 

[~UserName]

worked fine for me. But I saw that the notification mail I expect when mentioning somebody is not sent. 
Is there a way how I can enforce this?