Skip to content

Configure Code Review - Bitbucket


Overview

This guide describes how to set up the Code Review solution for Bitbucket.

It covers the following steps:

  • Connect Bitbucket
  • Add Bitbucket Repositories

At the end of this tutorial, you will be able to get started with Code Review solution for your application(s).

Prerequisites

Step 1: Register

Sign up with CloudAEye SaaS.

Setup Code Review

After you get access to CloudAEye SaaS, do the following steps:

Step 2: Connect Bitbucket

In the Code Review setup flow, choose Bitbucket. You will be asked to connect your bitbucket account.

Connect

Install CloudAEye App

In the next screen, you will install the CloudAEye app.

App

Click on Get App button to install the app.

Site

Atlassian will prompt you to choose a site. Select from the drop-down and click on Install.

Site

Workspace

In the next screen, enter the name of your workspace to check connectivity with Bitbucket.

Workspace

Click Next button. You will see a "successful" message in the top right corner and repository list will appear.


Step 3: Connect your GitHub Repositories

Add Bitbucket Repositories

Select the repositories you would like to monitor for Code Review.

Repositories

Map Repository Details

Add the details for all selected repositories.

  • Repository Name: Name of the repository that you selected.
  • Branch: From the drop-down menu, select the code branch. This branch will be used for codebase context.
  • App Name: Provide your application's name. You may select an existing application name from the drop down or add a new application name. For example, SockShop.

Configure Repo Details

Congratulations! You have successfully configured `Code Review' for Bitbucket.


Edit Bitbucket Repo Integration

From the left navigation, open the Integrations page.

Integrations

Select Repos button under Bitbucket to view your list of Bitbucket repositories.

For each repository, you may modify the branch, configure automated PR reviews, define the app name, specify tech stack context URLs, and manage linter and unit test settings.

Update Repo Details

When you're finished, click Save to apply your changes.


Remove Bitbucket Repo Integration

From the left navigation, open the Integrations page.

Select Repos button under Bitbucket to view your list of Bitbucket repositories.

When you click on the Disable button for a specific repository, you will see a confirmation page like the following:

Remove Repo

Click on the Disable button again to confirm.

Remove the App

You may go to Bitbucket Installed Apps page of your organization.

The URL is https://bitbucket.org/cloudaeye/workspace/settings/addon-management

Replace cloudaeye with your site in the above URL.

Remove App

Under "Forge apps" section, you will see the CloudAEye app. Click on Uninstall to remove the app.