Originally asked by Neha Aggarwal on 11 March 2020 (original question)
Could you please let me know how to Sync User Picker (Multi users) custom field.
Thanks
Originally asked by Neha Aggarwal on 11 March 2020 (original question)
Could you please let me know how to Sync User Picker (Multi users) custom field.
Thanks
Answer by Juan Grases on 13 March 2020
Hi!
On the out going sync you can use:
replica.customFields."Multi Users" = issue.customFields."Multi Users"
On the incoming you can use:
def remoteUsers = replica.customFields."Multi Users"?.value
issue.customFields."Multi Users".value = remoteUsers?.collect{nodeHelper.getUserByEmail(it.email)} ?: []