Forums

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

How to mention a list of user from a multi user field with jira automation?

Manuel
Contributor
January 13, 2023

With an automation, I like to mention all affected users eg when issue is done saying the bug you reported got completed.

I added a custom field "Affected Users".

Mentioning a single user is explained in: Solved: Automation: How to @mention user in Add Comment ac... (atlassian.com)

However the multi user field provides an array of users as response thus  [~accountid:...] is not working

{{issue."Affected Users"}}

[~accountid:{{issue."Affected Users"}}]

as it result in:

2023-01-13 12_06_32-notify affected users.png

1 answer

1 accepted

3 votes
Answer accepted
Manuel
Contributor
January 13, 2023

Can be achieved with smart values list.join(separator) as 

{{#issue."Affected Jira Users"}}[~accountid:{{.}}], {{/}} 

Suggest an answer

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

Atlassian Community Events