The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automating setting Watchers from a multi-user custom field

Richard LeBeau
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!
October 7, 2022

I'm trying to set the watchers of a ticket based on a custom people field called "Approvers." However, when I try to set up the automation rule, it returns that the rule was executed successfully but the watchers have not changed. Attached is a screenshot of the automation rule I have set up at the moment. Is there any way to fix this? Am I doing something wrong?

 

image.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Mikael Sandberg
Community Champion
October 7, 2022

You have to do it using smart value and the advanced branch in order to do it, like this:

Screen Shot 2022-10-07 at 12.59.42 PM.png

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 Champions.
October 7, 2022

Hi @Richard LeBeau 

Yes, and...to Mikael's answer:

You may also do this in one edit, without the branch, by adding all of the values from the field at once.  Try an iterator over the field to build the syntax needed for the JSON, as described here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Multi-user-picker-custom-field

Kind regards,
Bill

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events