How to get list of repositories for which app is enabled in Bitbucket Server and Data Center

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

This article explains how to get a list of repositories for which a particular app (plugin) is enabled.

Environment

Bitbucket 8.13, but also applicable to other versions.

Solution

In Bitbucket's apps system's architecture, all apps are installed globally for the whole server/cluster. Bitbucket has no built-in mechanism for turning on or off installed apps per repository.

However, that does not prevent a particular app from implementing its own means of deactivating or activating itself for a specific repository.

Two methods may help to get the required information:

  1. Universal Plugin Manager (UPM) REST API call that will list installed apps and their details. Please check the page How to Access UPM REST API for License Details for more information.

  2. HTTP (not REST) request, which can be tried directly from the web browser - URL is

    1 <BaseURL>/plugins/servlet/active-objects/tables/list

    The result of that request is a "Plugin Data Storage" page, which lists apps and SQL database tables they use.

    Apps that use their own mechanism for per-repository enabling will use some of those tables to store that information, so this would be the place to start the investigation.

Updated on February 25, 2025

Still need help?

The Atlassian Community is here for you.