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

XMLWordPrintable

    • 1
    • 1

      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.

       

       

            Assignee:
            Unassigned
            Reporter:
            Karthik Mahesh
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: