Bitbucket

Send events to Squadcast from Bitbucket

This document will help you integrate Bitbucket with Squadcast.

Bitbucket is a Git-based source code repository hosting service.

Route detailed alerts from Bitbucket to the right users in Squadcast.

How to integrate Bitbucket with Squadcast

In Squadcast: Using Bitbucket as an Alert Source

(1) From the navigation bar on the left, select Services. Pick the applicable Team from the Team-picker on the top. Next, click on Alert Sources for the applicable Service

(2) Search for Bitbucket from the Alert Source drop-down and copy the Webhook URL

In Bitbucket: Set up a Webhook for Squadcast

(1) Open the repository where you want to add the Webhook for Squadcast and click on Repository settings

(2) From the links on the Settings page, click the Webhooks link

(3) Select the Add webhook button to create a Webhook for the repository

(4) In the Add new webhook page, enter a Title, paste the previously copied Webhook URL from Squadcast and select the below in the Triggers field:

  • Repository push
  • Pull request created
  • Pull request merged

Click on Save

NOTE: For the event type Issue, integrate with our Jira-cloud as an alert source integration since, Bitbucket uses Jira to create and manage issues. This way, everytime you create an issue in Bitbucket, an issue for it is created in Jira, for which an incident is triggered in Squadcast.

That is it, you are good to go! Everytime a Push or Pull Request event occurs in Bitbucket, an incident would be created in Squadcast. When a Pull Request is merged in Bitbucket, the corresponding incident in Squadcast will be automatically resolved.