Bitbucket
Last updated
Last updated
Bitbucket is a web-based version control repository hosting service, for source code and development projects that use either Mercurial or Git revision control systems.
Use the SEI Bitbucket integration to integrate SEI with Bitbucket Cloud or Bitbucket Data Center (Enterprise).
The following permissions and settings are required to use the SEI Bitbucket integration:
You have a Bitbucket account.
Your role is Member or higher.
Select Integrations under Data Settings.
Select Available Integrations, and locate the Bitbucket integration, and select Install
Select the type of your Bitbucket Account as Cloud.
Choose the authentication type for the integration. You can either use OAuth or App Passwords to set up the authentication with the Bitbucket platform.
Set up OAuth by registering your application in Bitbucket, then obtain an authorization token by having users authenticate. Use this token to access Bitbucket resources securely.
If you are redirected to Bitbucket, select Grant Access to allow the integration. You might need to sign in. Bitbucket uses OAuth authentication.
Enter a Name for the integration.
The Description and Tags are optional.
Click on Save to save the integration.
Bitbucket Data Center (also known as Bitbucket Enterprise) is a self-managed solution for source code collaboration. SEI supports connecting with both Private and Public Bitbucket On-Prem instances.
Select Integrations under Data Settings.
Select Available Integrations, and locate the Bitbucket integration, and select Install
Select the type of your Bitbucket account as Data Center.
Choose Authentication Method:
Use Personal Access Token (PAT) to connect to a Public On-Prem Bitbucket server.
Use Ingestion Satellite to connect to a Private On-Prem Bitbucket server
Enter a Name for the integration.
The Description and Tags are optional.
Enter the URL for the Bitbucket Public On-Prem Instance in the format https://bitbucket.org/<TEAMNAME_OR_USERNAME>/<REPOSITORY_NAME>/src
Enter your Username
Enter the Bitbucket Personal Access Token. To generate an PAT token for your Bitbucket account, go to Managing PAT tokens for Bitbucket.
Enter Tags and the List of repositories you want to ingest. You can leave this option blank if you want to ingest all the repositories from organizations accessible to the token user.
You can select the Filters to define the type of data you want to ingest. The available options are Fetch Commits, Fetch PRs, Fetch PRs Reviews, Fetch Commits Fields.
Click on Validate Connection to run the pre-flight checks and validate the connection. Once successful, you'll have the integration set up under the Your Integrations tab.
Please note that after adding an integration and for each subsequent data sync, it may take up to 24 hours for the data to be fully reflected on SEI. This means that any widgets you configure on Insights using this integration may not display data until the synchronization is completed.