Skip to content

Create incidents via API

Release Notes

The most effective incident management tools are those that enable you to create incidents automatically from different sources. Integrate your proprietary systems with GitLab via API to create incidents automatically.

https://docs.gitlab.com/ee/operations/incident_management/incidents.html#create-incidents-via-api

Problem to solve

The ability to create incidents automatically is critical to setting up automation. Automating the routing of alerts and creation of incidents is important for DevOps teams who are trying to streamline their response workflows. Incidents should be able to be created via the API.

Intended users

User experience goal

Proposal

Enable setting of the issue_type field for the issue creation API so that users can create incidents using the API.

When someone runs this via CLI, the response should include a URL to the incident details page.

Edited by Sarah Waldner