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 haveproject-manage-config:write
permissions.Path parameters
taskTemplateId
The id of the task template to set the custom fields for.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a list of objects.
customFieldDefinitionId
The custom field definition id.
userIdValue
The user id. The user id can be set for custom field type 'user'.
numberValue
The number value. The number value can be set for custom field type 'number'.
selectionOptionIdValue
The selection option id value. The id can be set for custom field types 'select' and 'coloredSelect'.
textValue
The text value. The text value can be set for custom field types 'text' and 'link'.
dateValue
The date value. The date value can be set for custom field types 'date' and 'datetime'.
booleanValue
The boolean value. The boolean value can be set for custom field type 'boolean'.
Response
OK