Skip to main content
We rely on a GitLab Group Hook to enable:
  1. Syncing changes to follow-ups in GitLab back to incident.io
  2. Linking merge requests to incidents automatically when you mention the incident reference (e.g. INC-123) in a merge request.
  3. Posting updates to merge requests in the incident channel, for example when a linked MR is merged.

Setting up

You’ll need a GitLab Group Owner to do this setup.

1. Find your secret token

Under Settings → Integrations → GitLab, you’ll find a unique secret token. Copy this down - you’ll need it to successfully configure the hook. The GitLab integration panel, showing the secret token and a warning that no webhooks have arrived yet

2. Create the hook

Within your top-level group, click Settings then Webhooks : The GitLab group Settings menu open, with Webhooks highlighted Then Add new webhook. For the URL use https://app.incident.io/webhooks/gitlab. For the Secret token, paste in the secret token from the incident.io dashboard. Under Trigger, select: Work item events (or Issues events on older GitLab versions; the screenshot below shows the older label) Merge request events The Group hooks Trigger list, with Issues events and Merge request events ticked Everything else can be left as the default. Click Add webhook.

3. Verify the connection

In Settings → Integrations → GitLab, you can see when the last webhook was received. Make a small change to an issue to trigger a webhook: The GitLab integration panel confirming a webhook was received around 1m ago You’re all set