When the approvers field is updated, I am trying to automatically add those users to the existing custom field (as it may already contain some users and I want to preserve them, and just add on them)Be aware, both fields are multi-user fields.
Hi @[deleted]
You can check "Add to existing values" and copy from another field within issue.
ps: For json update method, please check Advanced field editing page
Sample one with add;
{"update": {"customfield_xxxxx" : [{"add": {xxxxxxxx}}]}}
Hi Tansu, trying
{"update": {"customfield_10561" : [{"add": {"issue.approvers" : []}}]}}
gets me the following error, Field 'customfield_10561' cannot appear in both 'fields' and 'update')
It looks like you're new here. Sign in or register to get started.