Jira Automation: Possible to tag assignee in comment?

Tim Graffam
Contributor
June 13, 2019

Is it possible to tag the issue assignee in a Comment in a Jira Automation rule? 

I know the {{assignee.displayName}} smart value will include the assignee's name, but I haven't figured out how to have that show up as a tag.

Thanks!

2 answers

1 accepted

16 votes
Answer accepted
Deleted user June 13, 2019

Hi there Tim,

You should be able to mention the assignee using one of the smart values below, note that mentions in cloud now use an account id but server does not.

Jira Server:

Hi [~{{assignee}}]

Jira Cloud:

Hi [~accountid:{{assignee.accountId}}]
Tim Graffam
Contributor
June 17, 2019

Perfect. Thank you!

Dennis Kugelmann
Contributor
March 8, 2020

@[deleted] This, unfortunately, does not work in Jira Cloud...

image.pngThis is what it looks like.

Like Justyna Kałębasiak likes this
Swapnil Hedaoo April 20, 2020

@[deleted] I got the same issue

Dalbir Singh June 1, 2020

Yes, getting the same issue, do we have a Fix to it?

David W
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 21, 2020

I have the same trouble :(

Like # people like this
Tom Williams
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.
June 24, 2020

Hi @Dennis Kugelmann @Swapnil Hedaoo @Dalbir Singh David W

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

You need to reference where you are calling the assignee from. In most cases I assume you'd need "issue" but could be "linkedissue" for example. 

Like # people like this
selluri April 11, 2023

Tim, suggested one is not working for me.

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

 Its showing like below,

[~accountid:634ec34cb7b39379d71d60bd] please merge the pull requests for this ticket.

PW July 31, 2024
[~{{assignee}}] worked great for Jira Data Center automation.
2 votes
selluri April 11, 2023

Tim, Did you get the solution?

I am also facing the same issue. Could you please help?

Karthika Murugesan
Contributor
May 4, 2023

[{{reporter.displayName}}|~accountid:{{reporter}}] - This worked for me, it tagged the reporter of the ticket

Like # people like this
JM Flores
Contributor
July 18, 2023

Worked perfectly, thanks

 

Assignee [~accountid:{{assignee}}]
Reporter [~accountid:{{Reporter}}]assignee reporter.PNG

Kevin Zhang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2023

I tried this expression [~accountid:{{assignee}}]. it doesn't work for me..

Like Jamie Hoover likes this
Dmitry Alabyan
Contributor
April 8, 2024

doesn't work for me either

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events