Bitbucket
Bitbucket App Passwords are being deprecated by Atlassian and will no longer be supported after June 9, 2026. Depending on your Bitbucket environment and rollout status, you may already be unable to create new App Passwords. AutoRABIT recommends using Bitbucket API Tokens for all new integrations. For all new Bitbucket integrations, AutoRABIT recommends using Bitbucket API Tokens instead of App Passwords.
For more information, see: Bitbucket App Password Deprecation – Action Required Before June 9, 2026.
About Bitbucket
Bitbucket from Atlassian is a cloud/self-hosted version control application. It provides effective ways to manage repositories, issue tracking, and technical projects. In the most basic terms, Bitbucket empowers you with total authority over the DevOps lifecycle.
GitHub and Bitbucket
GitHub and Bitbucket are hosting platforms that offer developers access to both public and private repositories. The functionality of Bitbucket and GitHub is very similar, and both allow you to perform basic operations, such as:
Create and manage repositories
Utilizing Two-Factor Authentication (2FA)
Make pull requests
Perform code reviews
Enhances team collaboration and efficiency of the process.
Make use of inline editing and Markdown support
Keep track of issues, etc.
Configuring Your Bitbucket Repository
Prerequisites for registering Bitbucket with ARM
You must have a Bitbucket account. If you don’t already have a Bitbucket account, you can create one at https://start.atlassian.com/ Once you have a Bitbucket account, you can create a new repository or use an existing one.
You must have permission to register a repository.
Store your Bitbucket’s credentials in ARM.
Store your Bitbucket credential in ARM
This is an initial step where you store your user's credential (usually a username, password, or token) in ARM.
To authenticate Bitbucket, you’ll have to use API Tokens instead of the regular password to log in to your Bitbucket account.
Steps to generate a Bitbucket API Token
Log in to your Bitbucket account.
Click your account’s
profile picturein the top right-corner of the Bitbucket webpage.Click the
Personal Settingslink in the dropdown menu.Navigate to
API Tokens.Select the link on the left labeled
Create API Token with Scopes. It is under theAccess Managementheading.Click on
Create API Tokensbutton.Enter a
label nameand check all the necessary permissions that you’d want to provide.Select the following required scopes:
admin:project:bitbucket
admin:repository:bitbucket
read:account
read:me
read:permission:bitbucket
read:project:bitbucket
read:pullrequest:bitbucket
read:repository:bitbucket
read:webhook:bitbucket
write:permission:bitbucket
write:pullrequest:bitbucket
write:repository:bitbucket
write:webhook:bitbucket
Click
Createto generate the Bitbucket API Token and copy the access token’s value. You will not be able to view this token again once you close this window.Click
Save.
Tokens created without the required scopes may fail authentication or repository registration.
Store your Bitbucket credential in ARM
Log in to your ARM account.
Hover your mouse over the
Adminmodule and click on theCredentialstab.Next, click
Create Credential.On the next pop-up screen, give a
credential name.Choose the
Credential TypeasUsername with Password.
Enter your Bitbucket
usernameandAPI Token.Click
Save.
The credential is now available for use when registering Bitbucket repositories in ARM.
Registering a Bitbucket repository in ARM
If you wish to set up a Bitbucket repository, ensure that you have an account created and configured at Bitbucket. Next, follow these steps:
Log in to your ARM account.
Hover your mouse over the
Adminmodule and click onVC Repos.Click on the
Register Repositoryavailable on the right corner of the screen.On the
Register Repositorypage, select theVersion Control SystemasGIT.Enter the
nameof the repository to display it locally.Paste the
Clone URLthat Bitbucket provides you.
Follow the steps to copy the URL from the Bitbucket account: a. Select your registered Bitbucket repository. b. Click on
Cloneand selectHTTPS. c.Copy the URLto paste in the ARM. Note: Make sure to remove “git clone” before pasting the URL.
Choose the correct user's
Credentialsfrom the list that you saved earlier.The
Default Branchselection will be in disabled mode by default. Click on therefreshbutton to fetch and list down all the available branches on your remote repository.Select one of the default branches from the list.
Once the registration is successfully done, you can find the newly added repository on
VC Repo'shome page.
Troubleshooting
Unable to Create an App Password
Bitbucket App Passwords are being deprecated by Atlassian and may no longer be available in some environments. Link to announcement: https://knowledgebase.autorabit.com/fundamentals/announcements/bitbucket-app-password-deprecation-action-required-before-june-9-2026#overview
Create and use a Bitbucket API Token instead.
Authentication Failed
Verify that:
The API Token is active.
The API Token was created using Create API Token with Scopes.
All required scopes have been assigned.
The Bitbucket user has access to the repository.
Repository Registration Failed
Verify:
Repository URL and configuration details.
API Token permissions.
Repository access permissions.
Connectivity between ARM and Bitbucket.
If the issue persists, contact AutoRABIT Support.
Last updated
Was this helpful?

