Custom Field

Archive custom field definition

Retire a definition. Stored values remain readable; new writes are rejected.

post/v1/custom-fields/{id}/archive

Response

OK

idstring required
keystring required
namestring required
descriptionstring
kind'text' | 'integer' | 'decimal' | 'boolean' | 'date' | 'datetime' | 'url' | 'single_select' | 'multi_select' | 'user_reference' | 'resource_reference' required
scope_idstring required
scope_type'Assignment' | 'Attachment' | 'Comment' | 'Document' | 'Issue' | 'IssueRelation' | 'Label' | 'Namespace' | 'Notification' | 'Organization' | 'Permission' | 'Project' | 'ResourceType' | 'Role' | 'Team' | 'Todo' | 'User' | 'UserToken' | 'Folder' | 'Installation' | 'CustomFieldDefinition' required
target_type'Assignment' | 'Attachment' | 'Comment' | 'Document' | 'Issue' | 'IssueRelation' | 'Label' | 'Namespace' | 'Notification' | 'Organization' | 'Permission' | 'Project' | 'ResourceType' | 'Role' | 'Team' | 'Todo' | 'User' | 'UserToken' | 'Folder' | 'Installation' | 'CustomFieldDefinition' required
requiredboolean required
archivedboolean required
index_exactboolean required
index_rangeboolean required
index_fulltextboolean required
orderinteger required
owner_user_idstring required
registrar_client_idstring
created_atstring date-time
updated_atstring date-time nullable

Example response

{
  "id": "9bsv0s46s6s002p9ltq0",
  "key": "story_points",
  "name": "Story points",
  "scope_id": "9bsv0s46s6s002p9ltq0",
  "schema": {
    "min": "0.01",
    "max": "100.00"
  }
}

Changes