It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 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. 

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
Community showcase
Published in Training & Certification

Atlassian University Live: Content Management with Confluence

  Atlassian University Live webinars provide you and your teams with the chance to strengthen your Atlassian product skills, and learn directly from Atlassian experts. Explore how to enhance...

39 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you