Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Mentioning a reporter in comment sent from Automation using smart values

Alexander Makarovsky March 6, 2025

Hi! I guess, that's easy, but I'm out of options to resolve myself.

I have a rule which should send a comment tagging for example an issue reporter.
I'm using this

[~accountId:{{user field name.accountId}}]

from https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/

So my text in automation is

[~accountId:{{reporter.accountId}}] Please check that description has ....

But the actual comment looks like

[~accountId:JIRAUSER15702] Please check that description has ....

Instead of giving me standard mention with clickable name like if I've been typing @amakarovsky

I'm on Data Center 8.7.1 

2 answers

1 accepted

4 votes
Answer accepted
Marc - Devoteam
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.
March 6, 2025

Hi @Alexander Makarovsky 

All the options you mention are based on Cloud, for DC, this should work:

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

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

Or if it's a username, this should work:

[~UserName]

Radek Dostál
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.
March 6, 2025

If I recall correctly, it uses keys instead of usernames, but yeah cloud != dc.

0 votes
Alexander Makarovsky March 6, 2025

Niiiice! Thanks, folks!

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events