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

Allow ability to control Pull Request deletions per repository/project

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Pull Requests
    • None
    • 16
    • 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.

      Currently we have only two ways to limit deletion of Pull Requests in bitbucket:

      • Disable Pull Request deletion entirely for all repositories by setting the following in bitbucket.properties file
        feature.pull.request.deletion=false
        
      • Prevent pull request authors from deleting their pull requests, but still allow repository administrators to do so.
        pullrequest.deletion.role=REPO_ADMIN
        

      However it would be a good addition to include Repository wise ability to allow deletion of Pull Requests.

      We should give the Project/Repository admin the control to enable or disable the ability to delete Pull Requests per repo/project basis in addition to the existing global setting.

              Unassigned Unassigned
              sraj3@atlassian.com Sujay
              Votes:
              15 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: