v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
customFields

Sets the custom fields for a task.

The required properties depend on the type of the custom field.

        <Check title="Required Permissions" icon="key">The user must have at least `write` permissions on the specified task.</Check>
post/tasks/{taskId}/setcustomfields

Path parameters

taskIdstring uuid required

The id of the task to set custom fields for.

Headers

Authorizationstring required

Bearer authentication

Request body

customFieldDefinitionIdstring uuid required

The custom field definition id.

userIdValuestring uuid nullable

The user id. The user id can be set for custom field type 'user'.

clientIdValuestring uuid nullable

The client id. The client id can be set for custom field type 'client'.

numberValuenumber double nullable

The number value. The number value can be set for custom field type 'number'.

selectionOptionIdValuestring uuid nullable

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

textValuestring nullable

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

dateValuestring date-time nullable

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

booleanValueboolean nullable

The boolean value. The boolean value can be set for custom field type 'boolean'.

Response

No Content

object required