I have a multi-user field for development resources who collaborated on an issue. When I assign the current user in a post function during a workflow transition, it replaces the contents of the field with the new value.
What I am looking for is the ability to append the current user to the field
I actually solved the issue. It was there all along. The Workflow transition has a post functions. One of the post functions is Update Custom Field. The variable to use is %%ADD_CURRENT_USER%%
I was using CURRENT_USER which would replace the value in the field. I tested the transition and it works.
You need a post-function that can get the current list, append a new user based on current user and then update with the new list (what you're using now simply sets the value, which overwrites the list).
Although I've done this with my own plugins and the script runner, I don't think there are plugins that can provide this for Cloud
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot