Magidoc

bulkUpsertCustomFields
Mutation

Creates or updates action and project custom-field definitions. New fields receive generated IDs; updates use the existing field ID with the replacement definition.

Arguments

#

workspaceId

ID !
Non-null

customFields

Non-null

propagateSelectRenames

When true, any Select custom field whose dropdown options were renamed in place (same count, same order, only label text changes) will have its new labels propagated to existing actions that still hold the previous labels in customFields.selectedValues. The client is expected to confirm with the user before setting this flag. Non-rename edits (reorder, add/remove, duplicate labels after sanitization) are ignored.

strictCreate

Rejects existing live fields with the same name, type and item type before any write. Hidden fields also block creation; deleted fields do not. Defaults to legacy reuse.

Response

#

Returns CustomFieldUpsertResult .

Example

#