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
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tansu, trying
{
"update": {
"customfield_10561" : [
{
"add": {
"issue.approvers" : [
]}
}
]
}
}
gets me the following error,
Field 'customfield_10561' cannot appear in both 'fields' and 'update')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.