• Overview
  • Documentation
  • Version history


BitBucket Server is a source code version control repository hosting service owned by Atlassian. It is hosted on-premise, in your environment and contains tools to manage source code for a project.

Quick Info

Product icon


DevOps Velocity (HCL Accelerate)
Plugin type icon


Compatibility icon


HCL Accelerate 2.0.0 or later
created by icon

Created by

HCL Accelerate

Published Date

Last Updated



The BitBucket Server plugin provides for integration with a BitBucket server.


This plugin requires HCL Accelerate 2.0.0 or later.


The following table describes the changes made in each plugin version.

Plugin history details
Version Description
1.1.22 Rate limiting and Resync implementation.
1.1.16 Reduced Vulnerabilities.
1.1.12 Enhance made to the UI fiields
1.1.5 Multiple Repository Support and User AccessKey Changes
1.0.42 Added support to pull commits from additional branches
1.0.23 Minor enhancements
1.0.22 Minor enhancements



To use the BitBucket Server plugin, the plugin must be loaded and an instance created before you can configure the plugin integration. You define configuration properties in the user interface or in a JSON file.

Integration type

The BitBucket Server plugin supports scheduled events integration which are listed in the following table.

Name Description
syncBitBucketServerPullRequestsEvent Queries the BitBucket Server for pull requests in a project.
syncBitBucketServerCommitsEvent Queries the BitBucket Server for commits in a project.


There are two methods to integrate the plugin:

  • Using the user interface
  • Using a JSON file

Using the user interface

  1. From the Plugins page, click Settings > Integrations > Plugins.
  2. Under the Action column for the plugin, click Add Integration.
  3. On the Add Integration page enter values for the fields used to configure the integration and define communication.
  4. Click Save.

Using a JSON file

The JSON file contains the information for creating a value stream and integrating with the BitBucket server. The following table describes the information for the creating a HCL Accelerate value stream map.

  1. From a value stream page, download the value stream map. The value stream map is a JSON file used to define integrations.
  2. Edit the JSON file to include the plugin configuration properties.
  3. Save and upload the JSON file. This replaces the current JSON file with the new content.
  4. View the new integration on the Integrations page.

Configuration Properties


The following tables describe the properties used to configure the integration. Each table contains the field name when using the user interface and the property name when using a JSON file.

  • The General Configuration Properties table describes configuration properties used by all plugin integrations.
  • The Bitbucket Server Configuration Properties table describes the BitBucket Server configuration properties that define the connection and communications with the Bitbucket server. When using the JSON method to integrate the plugin these properties are coded within the properties configuration property.

Some properties might not be displayed in the user interface, to see all properties enable the Show Hidden Properties field.

General Configuration Properties
Name Description Required Property Name
NA The version of the plugin that you want to use. To view available versions, click the Version History tab. If a value is not specified, the version named latest is used. No image
Integration Name An assigned name to the value stream. Yes name
Logging Level The level of Log4j messages to display in the log file. Valid values are: all, debug, info, warn, error, fatal, off, and trace. No loggingLevel
NA List of plugin configuration properties used to connect and communicate with the BitBucket server. Enclose the properties within braces. Yes properties
  The name of the tenant. Yes tenant_id
NA Unique identifier assigned to the plugin. The value for the BitBucket Server plugin is ucv-ext-bitbucket-server Yes type
Bitbucket Properties
Name Type Description Required Property Name
Access Token String The access token for oauth authentication. No access_token
Access Token Secret Secure The access token secret for oauth authentication. No access_token_secret
API URL String The URL to the API. Yes baseApiUrl
Consumer Key String The consumer key for oauth authentication. No consumer_key
Consumer Secret Secure The consumer secret for oauth authentication. No consumer_secret
Password Secure The password associated with the user name to authenticate with the BitBucket server. Yes password
Project Key String The repository project key. Yes projectKey
Project Name String The name of the project which contains one or more repositories. Yes projectName
Repository Name Array The comma seperated names of the repository. Yes repositoryName
Repository Slug String The slug of the repository. Yes repositorySlug
Signature Method String The name of the signature method for oauth authentication. No signature_method
User Name String The user name used to authenticate with the Bitbucket server. No username
Additional branches Array Comma seperated Additional branches to collect commits from besides the main one, leave blank if not needed. No otherBranches

JSON code sample

The following sample code can be used as a template to define the integration within the JSON file for a value stream. Copy and paste the template into the JSON file Integration section and make the appropriate changes.

     "type": "ucv-ext-bitbucket-server", 
      "tenant_id": "5ade13625558f2c6688d15ce", 
      "name": "my-bitbucket", 
      "loggingLevel": "info",
      "disabled": false, 
      "properties": { 
        "baseApiUrl": "[Base URL ex:]", 
        "username": "admin", 
        "password": "[Basic user password]", 
        "projectName": "[Full project name ex: JKE Mortgage Application]", 
        "projectKey": "[Project key ex: JMA]", 
        "repositoryName": "[app repository name ex: web-application]", 
        "repositorySlug": "[app repository name ex: web-application]" 


Uploaded: 08-Nov-2022 06:52

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.26

Release Notes

  • Added Regular Expression for Additional branch


Uploaded: 28-Oct-2022 06:20

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.24

Release Notes

  • Initial Sync Date Field Added: Under the hidden properties section of add integration page for the plugin an Initial Sync Date field is added. This field is optional and can be used only for the first sync.
  • Fix Resync Functionality: The previous version of plugin had some bug in resync functionality.
  • Infinite Loop Bug Fix: The previous version of the plugin had some bug that was making plugin events run in an infinite loop.
  • API Rate Limiting Implemented: Plugin has been enhanced to better handle API rate limiting.
  • Additional Logs Added: Additional debug, trace and warn logs are added to the plugin.
  • Error Handling: No default branch is defined - error is shown in warning logs if there is no default branch for a repository.
  • Performance Improvement: Plugin functionality is improved, previous version of the plugin was making more rest API calls to the BitBucket Server.


Uploaded: 23-Sep-2022 09:16

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.23

Release Notes

  • Removed Manual User Access Key: From current version onwards this plugin will only support Auto Generated User Access Key feature of HCL Accelerate.
  • Added Category:SCM is the category of bitbucket server plugin .


Uploaded: 17-Aug-2022 09:44

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.22

Release Notes

  • Rate limiting :It prevents number of API requests. Once the limit reached it waits for some time and again request is made.
  • Resync implementation :Resync functionality is added. After integration one can perform resync action.


Uploaded: 28-Mar-2022 19:52

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.16

Release Notes

  • Reducing vulnerabilities


Uploaded: 10-Mar-2022 06:37

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.12

Release Notes

  • Enhancements done to the UI fields


Uploaded: 10-Jan-2022 06:38

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.1.5

Release Notes

  • Multiple Repository Support
  • UAK Changes


Uploaded: 22-Jun-2021 11:48

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.0.42

Release Notes

  • Added support to pull commits from multiple additional branches


Uploaded: 08-Feb-2021 07:31

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.0.23

Release Notes

  • Bug Fix


Uploaded: 08-Feb-2021 07:31

Pull Command

docker pull hclcr.io/accelerate/ucv-ext-bitbucket-server:1.0.22

Release Notes

  • Retrieve commits from non-default branch.

Related Plugins