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
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}}]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should not add your actual ID if you are the assignee, you should then use what I added above:
[~accountid:{{issue.assignee.accountId}}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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}}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.