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

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 vote

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

Sounds good to me. Thanks Branden.

@Branden McElveen 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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Agility Beta

We've moved!

A note to all watchers that we've moved to a new community home... https://community.atlassian.com/t5/Agility/ct-p/agility Please update your notification subscriptions to keep across the ...

90 views 1 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you