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

Add the ability to modify whether automerging is enabled for a repository via the REST API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • 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

      It would be useful to query whether automerging has been enabled for a repository from the REST API. It would also be useful to be able to toggle it on and off remotely. The branch model REST endpoint doesn't include whether automerging is enabled which is where I would expect it to be based on the location of the setting in the UI.

      The reason this would be useful for me is that I am writing a custom plugin that changes its functionality based on whether automerging is enabled or not. I'd like to write integration tests that can remotely toggle the automerging setting on on and off to adaquately cover the code paths in my plugin.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              9472f696f743 John Gunnison
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: