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

    • Icon: Suggestion 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.

      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.

          Form Name

            [BSERV-9211] Add the ability to modify whether automerging is enabled for a repository via the REST API

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3395730 ] New: JAC Suggestion Workflow 3 [ 3618280 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: BSERV Suggestions Workflow [ 2685854 ] New: JAC Suggestion Workflow [ 3395730 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 1609228 ] New: BSERV Suggestions Workflow [ 2685854 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Roger Barnes (Inactive) made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            Roger Barnes (Inactive) made changes -
            Link New: This issue is related to BSERV-5411 [ BSERV-5411 ]

            Hi John,

            I believe this is a duplicate of BSERV-5411 - the branch model encapsulates the automerge settings.

            Roger Barnes (Inactive) added a comment - Hi John, I believe this is a duplicate of BSERV-5411 - the branch model encapsulates the automerge settings.
            John Gunnison made changes -
            Summary Original: Add the ability to query whether automerging is enabled for a repository via the REST API New: Add the ability to modify whether automerging is enabled for a repository via the REST API
            John Gunnison made changes -
            Summary Original: Add the ability ot query whether automerging is enabled for a repository via the REST API New: Add the ability to query whether automerging is enabled for a repository via the REST API
            John Gunnison made changes -
            Description Original: 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. New: 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.
            John Gunnison created issue -

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

                Created:
                Updated:
                Resolved: