Skip to main content

Bitbucket Data Center Configuration

Create an Access Token

Required Token Permissions

Feature

Bitbucket Data Center

Bitbucket Cloud

Automated Commit Feedback

Read under Repositories

Read under Repositories

Automated Pull Requests

Write under Repositories

Write under Pull Requests

Pull Request Commenting

Write under Repositories

Write under Pull Requests

Pull Request Line Commenting

Write under Repositories

Write under Pull Requests

Bitbucket Code Insights

Write under Repositories

Write under Repositories

Bitbucket Data Center

  1. Log into Bitbucket Data Center.

  2. Click your profile image and select Manage Account.

  3. Select Personal access tokens.

  4. Click the Create a token button.

  5. Choose a name for the token.

  6. Click Create.

  7. Save the personal access. You will not be able to view it again.

Note

Bitbucket Data Center requires your username for the account.

126655079.png

See this article for more information on Bitbucket Data Center Personal Access Tokens.

Protecting the Target Branch in Bitbucket Data Center

You can prevent users from merging Pull Requests with failing IQ Policy Evaluations with a Merge Check. IQ Policy Evaluations must be set to Fail at the Source Stage.

126655097.png

Click Enabled from the dropdown next to Minimum successful builds. Set the desired minimum number of successful builds.

126655098.png

See this page for more information.