Bulk Edit Issues API with Forge Custom Fields of Type Object

Is it possible to edit forge custom fields with the object type using the Bulk Edit Issues API?

The field is listed as bulk editable (" Get bulk editable fields" API).

My main question with this bulk edit API is:

  • How am I supposed to guess the correct “editedFieldsInput” property when using the get bulk editable fields API?

I tried to use clearableNumberFields, where I can set the Value to empty, but it’s not working when I try to set any value

This one will clear the value

"editedFieldsInput": {
        "clearableNumberFields": [
            {
                "fieldId": "customfield_10119",
                "value": null
            }
        ]
    },

This one will procude an error message “The value must be a JSON object.”

"editedFieldsInput": {
        "clearableNumberFields": [
            {
                "fieldId": "customfield_10119",
                "value": "1"
            }
        ]
    },

This one will procude an error message “Invalid request payload. Refer to the REST API documentation and try again.”

"editedFieldsInput": {
        "clearableNumberFields": [
            {
                "fieldId": "customfield_10119",
                "value": "{}"
            }
        ]
    },
1 Like

I’m also wondering about this—especially since you can bulk edit custom fields through the UI. The inputs are raw and require JSON, but at least the functionality is there.

Maybe there’s a hidden feature in the API as well?