• 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 Settings → Integrations. Search for GitLab and select Add

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 Responders field. Auto-complete suggestions are provided as you type.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams,

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

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 Aug 3, 2021
Cached at 11:27 AM on Sep 20, 2021 |

Additional Help