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

Mention multiple approvers with the comment

백재현/DevOps 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events