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

Allow ability to control Pull Request deletions per repository

    XMLWordPrintable

Details

    • Suggestion
    • Status: Gathering Interest (View Workflow)
    • Resolution: Unresolved
    • None
    • Pull Requests
    • None
    • 25
    • 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 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 basis in addition to the existing global setting.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: