Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19388

Ability to export all Repository or Project settings via a single API

    XMLWordPrintable

Details

    • 1
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Currently, there isn't a single API that can fetch all settings for a project or repository in Bitbucket. The APIs are designed to fetch specific pieces of information, and as such, one would need to make multiple API calls to gather different setting information.

      For example in order Get pull request settings in context a repository one could use : /api/latest/projects/<<projectKey>>/repos/<<repositorySlug>>/settings/pull-requests

      While it's true that data pipelines list the repositories along with some basic settings such as "Is Public", they don't include all repository/project settings.

      It would be highly beneficial for users to have the ability to generate an export of all the Project/Repository settings via a single API call. This could be particularly useful for auditing purposes. Users could compare the exported data with a custom template to identify any deviations in settings adherence. Another use would be to have backup of these settings export for future reference or versioning.

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ce91f45cf510 Karthik Mahesh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: