Hello Team,
I struggle to find a right syntax for my Custom API Request. Goal is to update multiuser picker without removing current values of the field:
I can confirm that the "fields" method works for SET setting up the field.
____
{
"fields": {
"customfield_10003": [
{
"id": "XYZaccountId1"
},
{
"id": "XYZaccountId2"
},
{
"id": "XYZaccountId3"
}
]
}
}
___
However I want to add values without removal using update method. Which seems to not work, my current syntax for the body is:
{
"update": {
"customfield_10003": [
{
"add": "XYZaccountId1"
},
{
"add": "XYZaccountId2"
},
{
"add": "XYZaccountId3"
}
]
}
}
__
Would you like to help me find the right syntax for this to work?
After some testing I have found the correct syntax.
{
"update": {
"customfield_10003": [
{
"add": {
"id": "XYZ1"
}
},
{
"add": {
"id": "XYZ2"
}
},
{
"add": {
"id": "XYZ3"
}
}
]
}
}
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.