I have an Assets scheme where the objects have a user atrribute that can take multiple users. I need to create an automation rule that takes a user specified in an issue, and add it to a specific object's Users attribute without replacing the users already in the field.
The "Edit object" action doesn't have advanced editing like the "Edit issue" action, and if I simply write the user field smart value, it replaces all current users in the attribute. How can I do this?
Hello @C0666379
not directly, no.
The reason is that Edit object does not have an append mode. It sets the whole attribute value you pass in, so for a multi-user attribute it will replace the current list, not add one more user to it. Atlassian even has an open feature request for that gap.
So the usual workaround is to read the existing users, rebuild the full list including the new one and then write that full list back to the object
Look on KB Article I Sended you and undergoing feature request inside.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.