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

How to mention approver in comment section?

Naresh G October 19, 2022

Hi Admins,

I have to write an automation rule, which has to add a comment to the JSM issue. In that comment, automation needs to mention the approver. We are using a single select(single choice) "Manager Approver" field to select the approver by the reporter while creating a ticket. So we need to mention the approver in the comment by automation for Jira so that an email notification will be sent to the approver. 

 If I add [~accountid:{{issue.assignee}}] , Jira automation can mention the assignee name. Like wise I need to mention the approver name. 

2 answers

0 votes
David Kintzinger February 27, 2023

Hi,
just in case this is still relevant to you: 

As long as your approval step is correctly implemented in the workflow you can mention the approver (weither the ticket is approved or declined) by adding this to your comment in the automation:

 [~accountid:{{approval.approver}}]

 

Adrian Tacaciu September 4, 2024

What could prevent this from working regarding the approval step? I keep getting blank instaid fo the approve displayname

0 votes
Bhanu
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.
October 19, 2022

Hi @Naresh Gantala 

You have to use smart values for this. 

See “the trick with customfield” section in the doc - 
https://confluence.atlassian.com/automation/find-the-smart-value-for-a-field-993924665.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events