Bitbucket

Steps to configure Bitbucket integration for incident management, using 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. Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.

How to configure Bitbucket integration in Squadcast

2. Select Bitbucket. Copy the displayed Webhook URL to configure it within Bitbucket. Finish by clicking Add Alert Source -> Done.

Steps to add Bitbucket integration to a service in Squadcast

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

Setting up Squadcast Webhook in Bitbucket: Access repository settings to add the Webhook for Squadcast integration

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

Setting up Squadcast Webhook in Bitbucket: Access repository settings to add the Webhook for Squadcast integration

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

Setting up Squadcast Webhook in Bitbucket: 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

Adding Squadcast Webhook in Bitbucket: Enter title, paste URL, and select triggers in the Add new webhook page

Note:

This integration supports the below events:

  • Repository push

  • Pull request created

  • Pull request merged

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, every time 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!

  • Every time 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.

Last updated

Was this helpful?

#426: Past Incidents

Change request updated