Manage custom fields.
Custom fields are used to attach metadata to incidents, which you can use when searching for incidents in the dashboard, triggering workflows, building announcement rules or for your own data needs.
Each field has a type:
We may add more custom field types in the future - we'd love to hear any other types you'd like to use!
List all custom fields for an organisation.
OK response.
{- "custom_fields": [
- {
- "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"
}
]
}
Create a new custom field
Created response.
{- "description": "Which team is impacted by this issue",
- "field_type": "single_select",
- "name": "Affected Team",
- "required": "never",
- "required_v2": "never",
- "show_before_closure": true,
- "show_before_creation": true,
- "show_before_update": true,
- "show_in_announcement_post": true
}
{- "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",
- "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"
}
}
{- "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",
- "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"
}
}
Update the details of a custom field
OK response.
{- "description": "Which team is impacted by this issue",
- "name": "Affected Team",
- "required": "never",
- "required_v2": "never",
- "show_before_closure": true,
- "show_before_creation": true,
- "show_before_update": true,
- "show_in_announcement_post": true
}
{- "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",
- "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"
}
}