Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Project Automation: How do I tag the Reporter of an Issue without knowing their username?


I have an Automation Rule (built-in Service Desk Automation, not Automation for Jira) that adds a Public Comment on a Request after pre-determined amounts of time and I would like to be able to tag the Reporter dynamically for each Request.



Hi accountid:reporter.accountId, this ticket has been waiting for further information from you. Please respond.

The text after "Hi" is actually a hyperlink: [ ~accountid: reporter.accountId ]

I want to be able to tag the Reporter without having to type their username into the Automation Rule's comment configuration.

How can I do this?

6 answers

I have been working with Automation for Jira that Atlassian recently bought to replace the service desk automation on Cloud.

Just tested that in this newer automation tool (Setting --> System --> Automation Rules) to @mention the reporter it is:


Hope that helps you all. 

this worked for me.. thanks !! 

I tried all answers as given option.
None of them Worked.
I want to tag the Reporter when Status changes to Waiting for Customer.
Jira Service Desk 8.10 Data Center.

tag User.PNG

Credit to @Hamdy Atakora :


you do not need to know their name. You can just call it by using this [~{{reporter}}]

{{reporter}} = Reporter Username

~[] = Tags the user


I have tested it and it works



Hi @Marwan Osman @Hamdy Atakora 

Thanks for sharing this. Looks like it almost works for me. But I only get ‘User’ and the hyperlink takes me to UNKNOWNUSER. The user it should be tagging is a member of the Service Desk. 

any ideas? Or experienced this yourselves? 


Not working for me in the Jira service desk cloud. Any idea?

Screen Shot 2020-07-29 at 10.59.23 PM.png

@Jay Chapani 

try this


Hi @Jay Chapani, atlassian has also confused things. They quielty bought Code Barrels' Automation for Jira, BUT they left their Service Desk hald baked Automation tool available. 

I try out the new tool under Settings --> System --> Automation rules. 

The two tools are going to have different behavior because of how they are coded divergently. My suggestions below works for the new tool only, as far as I know. 

@Tom Williams  -  Same result no luck.


@Andy Creech -  I am using Service Desk automation.

Now that Atlassian bought Code Barrel's Automation for Jira, is it free or do we still have to pay a subscription for it?

For Jira Cloud, I have experimented following and works perfectly.



It displays the username in a comment and links it accordingly.


Thanks, @Hamdy Atakora 

Seems like unfortunately this cannot be done in Service Desk's project Automation rules.

same for me

JIra SDk cloud or server?

With JSD Server, I tried everything...

comment auto.png

@Amy C , @Felipe , @Marwan Osman 


Here is how you do it [{{reporter.displayName}}|~accountid:{{reporter.accountId}}]

It is different in cloud



Doesn't work for me.



@Amy C are you on Jira Service Desk server or Cloud. I have tested this on cloud and i can confirm that it works.

The key is finding it out what a tagged name in a comment box is represent like in Markdown. And the rest is easy in Automation. 

See attached here for the recording

JSD Server

0 votes
edwin vasquez Community Leader Dec 05, 2019

hmmm....I havent tested it in automation, but I do know that you can do @Reporter or @assignee in comments and it returns the actual usernames. May be worth a try.

That actually doesn't work for me :/ 

Are you doing this in Service Desk via the Agent view?

edwin vasquez Community Leader Dec 05, 2019


Okay, I see, I can see that when I myself try to tag someone, but that does not work in Automation Rules because it is an on-demand selection. If I do that in Automation Rules, it just shows up as '@reporter' without actually linking to anyone.

Greenshot 2019-12-05 14.38.36.png

@Marwan Osman  you do not need to know theior name. You can just call it by using this [~{{reporter}}]

{{reporter}} = Reporter Username

~[] = Tags the user


I have tested it and it works

Like Marwan Osman likes this

Thank you so much @Hamdy Atakora you rock!

I am trying to do the same but I get: [~] on the output. Any ideas?

@Felipe  what are you entering. can you please attach a screenshot?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

638 views 5 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you