Skip to main content

Bitbucket Configuration

Create an Access Token

Required Token Permissions

Feature

Bitbucket Server

Automated Commit Feedback

Read under Repositories

Automated Pull Requests

Write under Repositories

Pull Request Commenting

Write under Repositories

Pull Request Line Commenting

Write under Repositories

Bitbucket Code Insights

Write under Repositories

Bitbucket Server

  1. Log into Bitbucket Server.

  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 Server requires your username for the account.

126655079.png

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

Protecting the Target Branch in Bitbucket

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.