How to identify Bitbucket Release from buildNumber?

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Bitbucket uses an internal build number to maintain data consistency and reference specific revisions in app URLs.

Environment

All versions of Bamboo.

Solution

Using Marketplace API; GET /products/key/{productKey}/versions

The following REST endpoint (JSON) provides more information about each Bitbucket release. You can access this data through the Atlassian Marketplace API using the following URL:

ℹ️ There is a hard limit of 50 records per page. In order to get more results, please use the offset value.

From database

To check the build release number for the Bitbucket version via the Bitbucket database, use the following SQL query:

1 2 3 SELECT key_value FROM plugin_setting WHERE key_name ='plugins.lastVersion.server';

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.