Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

How to include @reporter within a comment inserted by an automation

Kel Hill
Contributor
March 17, 2022

Within my automation's 'Comment on Issue' compose box, I tried @{{issue.reporter.displayName}} in an attempt to address the comment to the reporter by name.

The copy I received of the comment as posted does not look like the "@" symbol functioned as it normally works when manually typed.

Is there a way to include '@reporter' within an automated comment?

Thanks for any assistance.

2 answers

1 accepted

4 votes
Answer accepted
Dirk Ronsmans
Community Champion
March 17, 2022

Hey @Kel Hill ,

Going by this previously asked question it seems to work slightly different and based on the accountId (which make sense)

https://community.atlassian.com/t5/Jira-Software-questions/Mention-users-in-automation-comment/qaq-p/1515480

To mention from a comment, please try:

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

If you need to mention a specific person, you will need their id value, which you can get from performing a search or looking at their profile info.

[~accountid:thePersonsIdNumber]

Dirk Ronsmans
Community Champion
March 17, 2022

For reporter that might then be:

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

Like • # people like this
Saritha M D
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!
February 13, 2023

@Dirk Ronsmans Does this also work with 'Bulk Edit' option on the comments?

Like • David Ahern likes this
Hacel Adriano
Contributor
October 29, 2024

Below works for me to tag the reporter in a comment using automation, but it's not working when using canned response. =(

 


[~{{issue.reporter}}]

0 votes
Kel Hill
Contributor
March 17, 2022

Thanks @Dirk Ronsmans   


Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events