Forums

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

Mention multiple approvers with the comment

백재현/DevOps
Contributor
November 20, 2023

 

Currently, I've made an automation below

 

When Issue is created, 

[~accountid:{{issue.approvers.accountId}}],
Please approve the [{{Issue.Summary}}] from [~accountid:{{issue.reporter.accountId}}] comment will be created

 

but if there are multiple approvers,

it won't display the multiple approvers, but display the empty value.

 

How do I mention multiple approvers on the automated comment?

 

thanks

 

1 answer

1 accepted

4 votes
Answer accepted
Ste Wright
Community Champion
November 20, 2023

Hi @백재현/DevOps 

This smart value should work:

{{#issue.customfield_10123}}
- [~accountid:{{accountId}}]
{{/}}

It provides the users as a list, and mentions each of them :)

I've used Custom Field ID in the place of the field name, it's a more static/secure method.

Ste

백재현/DevOps
Contributor
November 20, 2023

Thanks it works!

Like Ste Wright likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events