bulkUpdateActionCustomFields Mutation
Updates a custom field value for multiple actions at once.
This mutation allows you to set or clear the value of a custom field across multiple actions. You must first call getCustomFields to retrieve available custom fields and their types for the workspace.
Important: Use only ONE value parameter based on the custom field type:
To clear a custom field value: Pass null or an empty value for the corresponding parameter.
Access: Requires user access to all specified actions
Returns: Array of updated Action objects with the new custom field values
Errors:
- Throws error if user doesn't have access to any of the actions
- Throws error if custom field doesn't exist
- Throws error if value type doesn't match the custom field type
Arguments
#
selectedValues
Array of selected values - use for 'select', 'user', or 'project' type custom fields. For 'select' type: pass the dropdown option strings. For 'user' type: pass an array of user IDs. For 'project' type: pass an array of project IDs.
Response
#
Returns [Action !]!.
Example
#
bulkInsertActions