Updates an existing custom field definition with the specified id.
Required Permissions
The user must be an admin or haveproject-manage-config:write
permissions.Path parameters
customFieldDefinitionId
The id of the custom field definition.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
name
The name of the custom field definition.
type
The type of the custom field definition. When updating a custom field definition, only the following changes are allowed: ‘date’ ↔ ‘datetime’, ‘select’ ↔ ‘coloredSelect’.
order
The global (workspace-level) order of the custom field definition. Only project custom field definitions have a global order.
Response
OK
id
The id of the custom field definition.
name
The name of the custom field definition.
entity
The entity the custom field definition can be linked to.
Allowed values:
type
The type of the custom field definition.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.
order
If it's a project custom field, it's the global order of the custom field definition.
Otherwise, it's the order of the custom field definition within a project template or a project.