• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with GitLab

GitLab logo

What does Opsgenie offer GitLab users?

Opsgenie offers an integration with GitLab where pushes, merge requests, and issues in GitLab create alerts in Opsgenie. Opsgenie determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

When a push is made to your project in GitLab, it creates an alert in Opsgenie.
When a merge request is created in your project in GitLab, it creates an alert in Opsgenie.
When a merge request is updated in your project in GitLab, it adds a note to the alert in Opsgenie.

When a merge request is closed in your project in GitLab, it closes the alert in Opsgenie.
When an issue is created in your project in GitLab, it creates an alert in Opsgenie.
When an issue is closed in your project in GitLab, it closes the alert in Opsgenie.
When an issue is updated in your project in GitLab, it adds a note to the alert in Opsgenie.

Add GitLab Integration in Opsgenie

  1. Go to Opsgenie GitLab Integration page.

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

2. Specify who is notified of GitLab alerts using the Teams field. Auto-complete suggestions are provided as you type.

An alternative for Step 1) and Step 2) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

3. Copy the Webhook URL.

4. Click Save Integration.

GitLab integration

Configuration in GitLab

  1. In your GitLab project, click the Settings tab on the bottom left.

  2. Select Integrations from the left pane.

  3. Paste your Webhook URL you just copied into the URL field.

  4. Select Push EventsIssues EventsConfidential Issues Events and Merge Request Events from the list.

  5. Click Add webhook.

GitLab webhook
Last modified on Jan 14, 2021
Cached at 8:53 PM on Apr 10, 2021 |

Additional Help

Ask the Community