Updates an existing custom field definition with the specified id.

PUT
Required Permissions: The user must be an admin or have project-manage-config:write permissions.

Path parameters

customFieldDefinitionIdstringRequired

The id of the custom field definition.

Request

This endpoint expects an object.
namestringRequired=1 character

The name of the custom field definition.

typeenumRequired

The type of the custom field definition. When updating a custom field definition, only the following changes are allowed: ‘date’ ↔ ‘datetime’, ‘select’ ↔ ‘coloredSelect’.

Response

OK

idstringOptional

The id of the custom field definition.

namestringOptional

The name of the custom field definition.

entity"task"OptionalDefaults to task

The entity the custom field definition can be linked to.

typeenumOptional

The type of the custom field definition.

createdOndatetimeOptional

The date this entity was created.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptional

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.