Documentation forSolarWinds Incident Response

Bitbucket

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

Route detailed alerts from Bitbucket to the right users in Incident Response.

How to integrate Bitbucket with Incident Response

In Incident Response: 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.

  2. How to configure Bitbucket integration in Squadcast

  3. 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

When an alert source turns Active, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.

An Alert Source is active if there is a recorded incident via that Alert Source for the Service.

In Bitbucket: Set up a Webhook for Incident Response

  1. Open the repository where you want to add the Webhook for Incident Response and click on Repository settings

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

  3. From the links on the Settings page, click the Webhooks link

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

  5. Select the Add webhook button to create a Webhook for the repository

  6. Setting up Squadcast Webhook in Bitbucket: Select the Add webhook button to create a Webhook for the repository

  7. In the Add new webhook page, enter a Title, paste the previously copied Webhook URL from Incident Response 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 Incident Response.

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 Incident Response.

  • When a Pull Request is merged in Bitbucket, the corresponding incident in Incident Response will be automatically resolved.