Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup PR to be mergable if one of PR creator OR approver is owner?

Ruoyun Huang
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2025

Now even though I am owner of a folder, and I I created a PR, I have to ask for a approval from another owner.  Really unnecessary since I am already a owner.

 

Is this configurable? (so that PR is mergable if at least one owner from PR creater and approver)

 

3 answers

2 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 2, 2025

Hi @Ruoyun Huang 

The author of the pull request (PR) can approve their own PR, but that approval does not count towards the number of approvals needed for the merge check to pass. This is by design, and therefore it's not possible to configure self-approval/merge as an option if you have approvals configured as a requirement in branch restrictions.

Cheers!

- Ben (Bitbucket Cloud Support)

 

1 vote
Ulrich Kuhnhardt _IzymesCo_
Atlassian Partner
April 2, 2025

"Thou shalt ne’er approve thine own changes."

0 votes
John Emmanuel
Contributor
April 2, 2025

As of now, there are certain merge checks you can perform when creating PRs. However, I do not find any similar settings that you are asking. You can either add few people as "Default Reviewers" and configure the merge check to have atleast 1 (or a set value) of Default reviewer approvals to be present on the merge as "Merge Checks". But to enforce the "Merge Checks" to merge the request, you need Bitbucket Premium plan.

Here you can find available Merge Checks and branch restrictions. You can configure them at each repository level and also at the project level, which all repositories inside will inherit.

Screenshot_20250402_160804.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events