If I clear the team field, it will return "Error while parsing additional fields. Not valid JSON."How should I handle the empty state
HI @Neville
Could you set the JSON to:
{ "fields": { "customfield_10001": null }}
This as removing a Team option to empty the field has no ID, but value Null.
So you can't set the field to an id as string.
Hi @Neville
Yes, and...to Marc's suggestions:
If you are trying to copy the Team to the child issues AND handle the case where the value could be empty, please use conditional logic in your JSON to make it dynamic:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/
Kind regards,Bill
It looks like you're new here. Sign in or register to get started.