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. <Check title="Required Permissions">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Path parameters

taskTemplateIdstringRequiredformat: "uuid"
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

The model containing the details for setting the custom fields for a task template.
customFieldDefinitionIdstringRequiredformat: "uuid"
The custom field definition id.
userIdValuestring or nullOptionalformat: "uuid"
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'.
selectionOptionIdValuestring or nullOptionalformat: "uuid"
The selection option id value. The id can be set for custom field types 'select' and 'coloredSelect'.
textValuestring or nullOptional<=750 characters
The text value. The text value can be set for custom field types 'text' and 'link'.
dateValuestring or nullOptionalformat: "date-time"
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