Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent pull request creation for a particular branch on bitbucket?

Satyajit Patnaik December 26, 2017

I have a project repository on a bitbucket server behind a proxy. I am the administrator for the repository in concern. The ask was to freeze a particular release branch (say, release/1.0) and create a new release branch (say, release/2.0) branching out of release/1.0.

Is there a way I can prevent the developers from creating a pull request for merging their feature changes to release/1.0? Instead, they should be creating pull requests to merge their changes only to release/2.0.

Like in the pull request creation page, the target branch dropdown should not show the value - release/1.0. But it should show release/2.0.

I will be grateful and greatly appreciate for any leads regarding this problem

Note: I have also raised a JIRA ticket as a suggestion to address this situation.

https://jira.atlassian.com/browse/BSERV-10517

 

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 26, 2017

Hi Satyajit,

I found a ticket in the BitBucket Public IssueTracker titled Add ability to disable pull requests (BB-7143) that was closed as wontfix in 2013 but people are still commenting on the ticket.

I did not see a ticket in JAC.  You could create a JAC ticket and link the ticket here and in the BitBucket Public Issue Tracker so the Community can vote on the issue. 

Cheers,

Branden

Satyajit Patnaik December 26, 2017

Sounds good to me. Thanks Branden.

Satyajit Patnaik December 26, 2017

@somethingblue As suggested by you, I raised a JIRA ticket as a suggestion and added the JIRA ticket link in the description of this thread question. You were talking about a Bitbucket public issue tracker too, how do I get there? Or just adding the JIRA link here in the description would suffice?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events