Using automation, I would like to clear a user picker custom field (that has a default value) and set it to another user when certain criteria is met. Here's what I have:
{
"update": {
"IT Approvers" : [
{
"remove": {
"accountId":"5ef9e6eea115ac0bb522xxxx"
}
}
{
"add": {
"accountId":"5dc32c445678870df715xxx"
}
}
]
}
}
I'm receiving this error: Error while parsing additional fields. Not valid JSON.
Can someone please tell me how to clear the first user from the field? Adding is working as expected.
Have you tried using the attribute name "id" instead of "accountId", like in the documentation: https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/#Advancedfieldediting-JSON--Requestparticipants
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.