Sets the custom fields for the task template. The required properties depend on the type of the custom field. Only task templates which are linked to a project template may have custom fields set.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
taskTemplateIdstringRequiredThe id of the task template to set custom fields for.
Request body Required
The model containing the details for setting the custom fields for a task template.
application/json
customFieldDefinitionIdstringRequiredThe custom field definition id.
userIdValuestring or nullOptionalThe user id. The user id can be set for custom field type 'user'.
clientIdValuestring or nullOptionalThe client id. The client id can be set for custom field type 'client'.
numberValuenumber or nullOptionalThe number value. The number value can be set for custom field type 'number'.
selectionOptionIdValuestring or nullOptionalThe selection option id value. The id can be set for custom field types 'select' and 'coloredSelect'.
textValuestring or nullOptional750 The text value. The text value can be set for custom field types 'text' and 'link'.
dateValuestring or nullOptionalThe date value. The date value can be set for custom field types 'date' and 'datetime'.
booleanValueboolean or nullOptionalThe boolean value. The boolean value can be set for custom field type 'boolean'.
Responses
204 No Content
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.
404 Not Found
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.