Creating a pull request does not track selected branch
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
This article explains why initiating a pull request through the "Create" drop-down button does not automatically track the current branch on the page.
Environment
Bitbucket Cloud
Diagnosis
When you want to try to create a new pull request following the steps below:
In your existing repository, go to your Branches tab
Click a random branch
Click the "Create" drop-down button and select "Pull request"
Unfortunately, after redirecting you to the pull request creation page, the source branch does not automatically track the current branch from the previous page.
Cause
This is currently the expected behaviour because the "Create" > "Pull request" button dropdown in the top navigation is not aware of the branch context and links to the page to create a pull request without any parameters.
Solution
From the specific branch view page, you can click the "Create pull request" button instead. This should track the currently selected branch as the source branch on the pull request creation page.

Was this helpful?