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

Remove user from watcher from user picker custom field (Automation)

Deleted user October 17, 2022

Heya Automators

Having some issues with the Manage watchers step in an automation. 

I'm using a multi-user picker custom field to add and remove users from Watchers. 

The issue I'm having is finding the user that was added or removed, amongst the other users in the array, or the delta, if you will. 

In other words, if I have user A and user B already selected on the picker, and add user C, how do I isolate the display name or ID of user C as a smart value? 
As well as this, if user A, B and C are already added, and user C is removed, how would I isolate user C to the same effect? 

This would allow me to run the rule with additional steps, such as send email, though only to user C, and not the other users already listed on the picker users A and B)

I want to do this for both an add and remove step for manage watchers. 

I suspect I need to use the fieldChange or changelog smart value, though am having trouble finding the right syntax. 

Help much appreciated :) 

2 answers

1 accepted

1 vote
Answer accepted
Deleted user November 6, 2022

Hi Stefan,

Thanks for looking into this, I should have posted the answer after solving.

The solution ended up being the below smartvalues

{{addedfieldChange.valueIds}} - this gets the account ID of the users who are added

{{deletedfieldChange.valueIds}} - this gets the account ID of the users who are removed

This has been tested as working, and would on other multi-user picker custom fields for a similar application.

Stefan Salzl
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 7, 2022

Awesome. Great job 💪🏼

Would you be so kind to accept your solution in order to mark this question as solved?

Best
Stefan

0 votes
Stefan Salzl
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 5, 2022

Hi @[deleted] 

the field change option seems to be the right choice.

Could you show a screenshot of you automation rule/how far you‘ve come so far? Where exactly did you get stuck?

Best
Stefan

Suggest an answer

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

Atlassian Community Events