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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,466,228
Community Members
 
Community Events
176
Community Groups

Is it possible to @ a specific user in a comment that part of an automation rule?

If a comment is added as part of an automation rule, can I add an @ for a specific user to be notified of the change?

I have only been able to find how to mention someone like the Assignee, or Creator, or Reporter. 

Use case:

As a portfolio manager

Who is not necessarily an Assignee, Creator, or Reporter,

I want to be notified (in the comment) when a Feature/Epic is auto-closed by an automation rule, so I can prepare to release that Feature and notify stakeholders of the full completion of the Feature

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg Community Leader Aug 05, 2022

Yes, it is possible, but you have to use the markdown text and know the user's AtlassianId in order to do it like this:

[~accountid:{{issue.assignee.accountId}}]

Darryl Lee Community Leader Aug 05, 2022

BTW, to find your account ID or those of others:

The easiest way I've found to find my accountId is to click on my icon on the sidebar and then on the "Profile" link. In the URL you can find your accountId after the last "/" :

Per @miikhy here:

https://community.atlassian.com/t5/Jira-questions/where-can-i-find-my-Account-ID/qaq-p/976527

Like # people like this

@Mikael Sandberg thank you!  so i tested this out but i think i had some trouble with the code in the brackets...i wrote it like so:

[~accountid:{{issue.assignee.myaccountidhere}}]

and the comment that was left resulted in this:

[~accountid:]

Am I meant to put my account id in the front or in the issue.assignee.accountid portion?  or both?

(note: "myaccountidhere" is meant to represent my actual account id number)

Mikael Sandberg Community Leader Aug 08, 2022

You should not add your actual ID if you are the assignee, you should then use what I added above:

[~accountid:{{issue.assignee.accountId}}]

Mikael Sandberg Community Leader Aug 08, 2022

The only time you would replace the smart value with the actual account ID would be if the user you want to @ mention is not in a user field on the issue. But if you have a field for lets say, stakeholders, the markdown text would be:

[~accountid:{{issue.Stakeholder.accountId}}] 

Darryl Lee Community Leader Aug 08, 2022

From my reading of @Jayme Burkhalter 's original post, he wants to @ mention

... a portfolio manager

Who is not necessarily an Assignee, Creator, or Reporter,

So yes, if there is a Portfolio Manager field, then this should work:

[~accountid:{{issue."Portfolio Manager".accountId}}] 

But if they're actually trying to "hard code" a specific user then it should be:

[~accountid:JaymesAccountid] 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events