Sets the custom fields for a task template.

The required properties depend on the type of the custom field. Only task templates which are linked to a project template are allowed to have custom fields set.

Required Permissions
The user must be an admin or have project-manage-config:write permissions.

Path parameters

taskTemplateIdUUIDRequired

The id of the task template to set the custom fields for.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a list of objects.
customFieldDefinitionIdUUIDRequired

The custom field definition id.

userIdValueUUID or nullOptional

The user id. The user id can be set for custom field type ‘user’.

numberValuedouble or nullOptional

The number value. The number value can be set for custom field type ‘number’.

selectionOptionIdValueUUID or nullOptional

The selection option id value. The id can be set for custom field types ‘select’ and ‘coloredSelect’.

textValuestring or nullOptional

The text value. The text value can be set for custom field types ‘text’ and ‘link’.

dateValuedatetime or nullOptional

The date value. The date value can be set for custom field types ‘date’ and ‘datetime’.

booleanValueboolean or nullOptional

The boolean value. The boolean value can be set for custom field type ‘boolean’.

Response

OK