Hi there,
I’m doing the create a custom field API call with this payload
{
"data": {
"enum_options": [
{
"resource_type": "enum_option",
"color": "green",
"enabled": true,
"name": "Option 1"
},
{
"resource_type": "enum_option",
"color": "red",
"enabled": true,
"name": "Option 2"
}
],
"is_global_to_workspace": false,
"name": "custom field 1",
"resource_subtype": "enum",
"workspace": "123123123"
}
}
I’m getting
You may not create a custom field with
is_global_to_workspace
set tofalse
unless it has a custom field setting on it
Probably like others I’m confused between the difference of a “custom field” and a “custom field setting”.
Do I need to include the body once more under the “custom_field_settings” attribute? Or do I need to call add a custom field to a project directly without creating the field first? (and if so, with which body as this last call assumes that I pass a field ID)
Greetings,
PJ