Create a new custom field
Description of the custom field
"Which team is impacted by this issue"
Type of custom field
single_select, multi_select, text, link, numeric "single_select"
Human readable name for the custom field
50"Affected Team"
Whether a custom field should be shown in the incident resolve modal. If this custom field is required before resolution, but no value has been set for it, the field will be shown in the resolve modal whatever the value of this setting.
true
Whether a custom field should be shown in the incident creation modal. This must be true if the field is always required.
true
Whether a custom field should be shown in the incident update modal.
true
When this custom field must be set during the incident lifecycle. [DEPRECATED: please use required_v2 instead].
never, before_closure, always "never"
When this custom field must be set during the incident lifecycle.
never, before_resolution, always "never"
Whether a custom field should be shown in the list of fields as part of the announcement post when set.
true
Created response.
{
"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",
"options": [
{
"custom_field_id": "01FCNDV6P870EA6S7TK1DSYDG0",
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"sort_key": 10,
"value": "Product"
}
],
"required": "never",
"required_v2": "never",
"show_before_closure": true,
"show_before_creation": true,
"show_before_update": true,
"show_in_announcement_post": true,
"updated_at": "2021-08-17T13:28:57.801578Z"
}