Sets the custom fields for a task template.

POST

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

taskTemplateIdstringRequired

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

Request

This endpoint expects a list of objects.
customFieldDefinitionIdstringRequired

The custom field definition id.

userIdValuestringOptional

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

numberValuedoubleOptional

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

selectionOptionIdValuestringOptional

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

textValuestringOptional

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

dateValuedatetimeOptional

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

booleanValuebooleanOptional

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