Forums

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

Adding a mention in comment using JIRA automation

Ayoosh Gupta
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!
March 3, 2025

Hi

I've been trying to mention the "Approver" in the comment using JIRA automation but I always get "@unknown". Been using the correct syntax using the account ID and have doube checked the execution rules and the access for my ID and the JIRA automation user but still fails. Any tips? Has anyone got it working for them?

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
SilkeS
Community Manager
Community Managers are Atlassian Team members who specifically run and moderate Atlassian communities. Feel free to say hello!
October 14, 2025

This topic has been locked because the thread has become a bit dated. If you’d like to keep the conversation going or have additional questions, we encourage you to start a new topic. You can read more about necro posting (“raising threads from the dead”) in our  Community Guidelines .

Thanks!

0 votes
Sebastian Pechhold
Contributor
October 14, 2025

I wanna do this with the reporter and using

 

[~accountid:${{issue.reporter.accountId}}]. But i get "@unknown" as mention text. Doesnt matter if i am the rule actor or not. I am org admin as well. 

0 votes
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 3, 2025

Hi @Ayoosh Gupta 

Welcome to community :) 

Please chcek if your use case is similar to this :https://confluence.atlassian.com/jirakb/jira-service-management-cloud-use-automation-rule-to-notify-pending-approvers-1443041080.html#

Thank You,

prachi

0 votes
Vishal Biyani
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.
March 3, 2025

The format for @mention to work is

[~accountid:{{issue.assignee.accountId}}] or replace the bold values with your fields.

However, as Rebekka rightly mentioned, sharing what you have put in place so far and the audit logs will help in analyzing the problem

0 votes
Rebekka Heilmann _viadee_
Community Champion
March 3, 2025

Hi @Ayoosh Gupta and welcome to the Community,

could you provide screenshots of the rule (actions) that you got so far? That always helps with analyzing where it goes wrong.

Bill Sheboy
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.
March 3, 2025

Hi @Ayoosh Gupta -- Welcome to the Atlassian Community!

Adding to the suggestions from @Rebekka Heilmann _viadee_ ...

 

The Approvers field is a list of values, and so a rule would need to iterate over the values to add each one using the mention syntax.  For example:

{{#issue.approvers}}[~accountid:{{accountId}}]{{^last}}, {{/}}{{/}}

 

Kind regards,
Bill

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events