Special pull-requests/* branches - is it default behavior?

Hi

You know how Bitbucket Server automatically creates special pull-requests/* branches for pull requests.

So my question is whether this is a default behavior for BB or is it configurable somewhere during installation?

We are looking into adopting Sonar plugin for BB. This plugin, however, for all pull requests  uses the name of the source branch for integration. So we never get a proper integration for pull-requests/* branches.

The plugin developers are also asking if this is default BB behavior or not: https://mibexsoftware.atlassian.net/browse/SONAR-89

 

I suppose this is the default, since there can be multiple pull requests open from the same branch.
 

1 answer

The behaviour is as you expect.

refs/pull-requests/$(pull-request-id)

 

This is where the cross repo pull requests are stored. I have not found any configuration.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

402 views 5 9
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