Required Fields for incident Declaration
Configuration
To enable Required Fields , the configuration options will appear in your organization settings at https://app.firehydrant.io/organizations/settings/edit
From here, you’ll see checkboxes to select which fields are required during incident declaration
Saving this form will enforce global validation for the selected fields across all incident declaration methods.
Required field usage
Let’s take a look at a couple different scenarios with the ‘description’ field set as required.
Web UI
When trying to declare an incident through the web UI, you’ll see an error after submission informing a user that the Description field is required.
Slack
When declaring an incident through Slack the description field is marked as required, which won’t allow you to submit the form without a value in that field.
API
Making an API request to open an incident will return this error message in the response
{"detail":"","messages":["description Must be set"],"meta":{}}%
Some additional information about the specific field types.
- Severity
- If severity is required, a user must select a severity other than UNSET before opening the incident.
- If severity is required, a user must select a severity other than UNSET before opening the incident.