Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to change the target branch of a submitted pull request ?

cansat-asgard February 25, 2020

When a pull request is received with Master as the destination branch, and there are conflicts, I'd like to pull in a temporary branch, where I can fix de conflicts before merging with Master.

How can I do that in Bitbucket ? I can't find a way to change the destination branch.

Thanks,

Alain.

1 answer

5 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2020

Go to the pull request and click the ellipsis button and select Edit. From here you can change the target branch for the pr.

Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2020

As Mikael has said, creating and editing pull requests in Bitbucket Cloud use the same form. This allows you to edit the destination branch.

https://confluence.atlassian.com/bitbucket/create-a-pull-request-945541466.html

Rares Saftoiu April 26, 2022

Do you know if there's a way to bulk retarget a list of PRs?

Like Brendan Graf likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events