custom_field_triggers

Update Custom Field Trigger

patch/custom_field_triggers/{trigger_id}

Path parameters

trigger_idstring uuid required

Request body

enabledboolean required

Response

Successful Response

trigger_idstring uuid required
action_type'set_custom_field' required

What a trigger does — the discriminator for its typed child table.

New actions (notifications, tasks, workflows) are added as new values here plus their own custom_field_trigger_<action> child table; nothing reshapes.

enabledboolean required
source_custom_field_idstring uuid required
source_field_namestring nullable
trigger_option_idstring uuid nullable
trigger_option_labelstring nullable
target_custom_field_idstring uuid nullable
target_field_namestring nullable
target_definition_type'DROPDOWN' | 'FREE_TEXT' | 'MULTISELECT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'USER' | 'MULTI_USER'
value_source'current_timestamp' | 'literal'

Where a SET_CUSTOM_FIELD action's written value comes from.

value_literalstring nullable
overwrite_policy'set_if_empty' | 'always'

Whether a SET_CUSTOM_FIELD action may overwrite an existing value.

Changes