Reattaching Bitbucket Projects

At AutoRABIT, we have made some changes to make our Bitbucket project webhooks more secure. To take advantage of this change, Bitbucket projects that were created in CodeScan need to be reattached.

CodeScan Cloud allows you to do this without erasing the historical data present in your project. It will only reconnect the CodeScan project with the Bitbucket repository.

This only affects projects created in CodeScan with our internal integration.

This DOES NOT include:

  • Projects created from Bitbucket pipelines

  • Projects being cloned from Bitbucket and scanned from a separate CI platform

Follow these steps to reattach your project analysis:

  1. Open your Bitbucket project.

  2. Navigate to the Project Settings > Project Analysis page.

  1. Click on Delete Analysis.

  1. Make sure you do not have the "Delete this project also?" box checked. This will delete your history and is not reversible. Click Delete Analysis.

  1. Now use the Attach Analysis Project button at the top right of the screen to re-add the link.

  1. You will now see a new popup window. Select the required option from the options given (e.g., Bitbucket).

  1. Once you select Bitbucket, it will redirect you to the Bitbucket login page. Validate your credentials and click on Login.

  1. Choose your repository.

  2. Make sure you select the checkbox under Check Pull Requests.

  1. Once you fill out all the details in the popup window, select Add and Run Now.

  2. This triggers the project analysis along with the project being added under your CodeScan organization.

Last updated