Incidents

The Incidents setting lets you specify how to track incident data to calculate the MTTR and DORA metrics.

Configuration:

Data Source

Apply branch prefix settings globally across all repositories, or choose specific repositories where the prefixes should be applied.

  • Git Provider: Select this option if incidents are marked in your repository using labels or tags.
  • API: Choose this option to manually track incidents via the Incidents feature or automatically via theAPI. This is useful if your organization uses a custom incident management tool or tracks incidents outside the Git repository.

Branch Prefix

Use the dropdown to define the criteria for identifying incidents, such as "Hotfix + Bug". This ensures that incidents are automatically detected when Pull Requests or issues are tagged with these labels. You can adjust the criteria to track incidents based on a single label, like "Hotfix" or "Bug" instead.

Apply to

Define how branch prefix settings are applied across repositories. You can enforce them globally or limit them to specific repositories.

  • All Repositories: Apply the configured branch prefixes to every repository.
  • Selected Repositories: Apply branch prefixes only to the repositories you specify.

Tip: Refer to the Incident Management documentation for detailed instructions on using the API to submit incidents.