In Bitbucket datacenter I need a Pull request merge check that will remove approval if PR changes

yogesh_devi
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.
November 14, 2024

Hello Experts ,

We use Atlassian Bitbucket Datacenter v7.21.23

We use a pull request merge check that needs a stipulated number of approvals piror to merge.

The problem is - that developers may sneak in a commit post review and approval of Pull request or point it to anoter branch and merge that in because pull request is already approved.

I am looking for a mechanism to automatically remove approval if the Pull request state changes ( because of new commits to branch being merged or change to target branch) 

Is that possible in bitbucket, are there any third party plugins available to achieve this 

Thanks for your help 

Yogesh 

 

 

1 answer

1 accepted

2 votes
Answer accepted
Saxea _Flowie_
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.
November 14, 2024

Hi @yogesh_devi

You can use the free Auto Unapprove plugin from Atlassian to achieve that. 

 

yogesh_devi
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.
November 18, 2024

Hi Saxea ,

Thanks a lot !!  This works 

Sincerely appreciate your help 

Like Saxea _Flowie_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21.23
TAGS
AUG Leaders

Atlassian Community Events