Supported webhook events:
- Push events
- Merge request events
Configure webhook by logging in to your GitLab account:
-
Select a repository.
-
Go to the settings page by clicking Setting on the sidebar.
-
Select Webhooks. The following page is displayed:
-
Switch to your Jira instance and copy the Webhook URL by clicking the copy icon adjacent to the URL field.
-
Switch back to your GitLab session and paste the obtained Secret URL from the Git Integration for Jira app ➜ Webhooks page into the Payload URL field.
-
Select the Push events as a triggering event option. This is the default option when creating a new webhook.
-
Click Add webhook to save the new webhook settings.
Merge Request Event Webhook
The Git Integration for Jira app supports GitLab merge request webhooks now.
You will need to enable two (2) event triggers in your GitLab webhooks configuration (Repo ➜ Settings ➜ Integrations) for it to work properly. Select both “Push events” and “Merge request events” triggers as outlined above in step 5.
More related articles about webhooks setup
Creating reindex triggers for a single repository
Adding webhooks for GitLab (this page)
Webhooks GitHub Organization support
Adding webhooks for Azure DevOps Repos | VSTS