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.


1 answer

0 votes

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. 



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
Community showcase
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

324 views 24 4
Join discussion

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