Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket pull request merge

Hi Team,

The situation is...whenever the developer finished his/her development work, developer creates a pull request in bitbucket and adds the reviewer to review it. The reviewer reviews it and provides feedback and approve the pull request.

After approving the pull request, the reviewer merges the pull request and bitbucket uses the reviewer name as the author of the commit.

So my question here is, commit author should be a developer as he/she did the code changes but not a reviewer or the person did the pull request merge.

Thanks in advance.

1 comment

Hi Yogesh

I understand that you need a developer persona to be the author of commits including merge commits. 

My suggestion is to change your workflow and to have the actual author of the PR perform the merge once approvals are given. 


You can add simple merge checks I.e number of required approvals to ensure PRs are not merged before approvals are given. If you have more complex workflow requirements you can use Bitbucket apps that help you define your process and enforce it. Let me know if you have any questions 

HI @Ulrich Kuhnhardt _IzymesCo_ 

Thanks for the response.

As per the below articles ...PR merge is the flexibility that can allow different team members who have the write permission for the repository can merge.

Also, I have the merge checks, which we are checking all reviewers approval required and the PR merge is done once the reviewer is approved. 

Sometimes the reviewer itself merges the PR, in this case, the commit author should be added as a person who opens the PR (ie. developer) but not the reviewer. 

How I can do this.


Log in or Sign up to comment
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

4,332 views 11 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you