latestSwagger 2.02026-08-102194011.3 MB

602fc25ddd76

Custom Fields V2

Create Custom Fields V2

Create a new custom field

post/v2/custom_fields

Request body

descriptionstring required

Description of the custom field

field_type'single_select' | 'multi_select' | 'text' | 'link' | 'numeric' required

Type of custom field

namestring required

Human readable name for the custom field

Example request

{
  "description": "Which team is impacted by this issue",
  "field_type": "single_select",
  "name": "Affected Team"
}

Response

Created response.

Example response

{
  "custom_field": {
    "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0",
    "created_at": "2021-08-17T13:28:57.801578Z",
    "description": "Which team is impacted by this issue",
    "field_type": "single_select",
    "id": "01FCNDV6P870EA6S7TK1DSYDG0",
    "name": "Affected Team",
    "updated_at": "2021-08-17T13:28:57.801578Z"
  }
}