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?

1 answer

1 accepted

1 vote
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer