Pull requests for code review only (without merge)?

Matt Cruger April 5, 2016

Is there any way in Bitbucket to do code review only pull requests? In Gitlab this feature is called 'Work in Progress' pull requests, where the pull request is only used for code review and collaboration with team members. A merge pull request is then issued when the feature is finished, final review should be done, and the change should be merged. 

This is something our team could really use. For now the only way we've been able to get around it is to submit a pull request to a dummy branch, so if a merge does accidentally happen, the change doesn't go anywhere.

Any ideas here?

2 answers

0 votes
Ulrich Kuhnhardt [IzymesDev]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 6, 2016

Suggestion (plug)

With Workzone you can set mandatory reviewers on branch level. The PR cannot be merged until all configured mandatory reviewers have approved.

 

0 votes
Gabriel Ben-harosh Hasson April 6, 2016

Bitbucket server allows to set Pull Request checks to prevent merging if a check requirement has not been met.

You can find more info here: 
https://confluence.atlassian.com/bitbucketserver/checks-for-merging-pull-requests-776640039.html

 

Matt Cruger April 6, 2016

The problem is that we don't want to merge anything at all - we want the pull request solely for code review on works in progress. We currently do use the features you listed, but they do not let us restrict a pull request from ever being merged, and they apply to all pull requests.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events