I know under premium plan, there is feature in bitbucket to remove approvals if new commits are pushed to open PRs that already has approvals. We use that feature a lot.
I am curious to know whether we can go one step further and configure unapproval based on various business rules. Like remove approval only if certain files are changed like podlock(cocoapods).
we are looking at opportunities to reduce effort of reviewers for prs that already has been reviewed and draw their attention only if needed in case of special conditions?
Hi @GPVCMANI and welcome to the community.
Does your question concern repos hosted in Bitbucket Cloud (https://bitbucket.org/) or in Bitbucket Server (self-hosted instance)?
I see that your post has the tag 'bitbucket-server', but you are referring to the premium plan, which is a billing plan for Bitbucket Cloud. So, I just want to make sure we know which product you are using and are referring to.
For Bitbucket Cloud specifically, I'm afraid that what you are asking is not possible at the moment. You are more than welcome to open a feature request for this in our issue tracker, explaining your use case as well, for our product managers to take into account.
Implementation of new features is done as per our policy here.
Please let me know if you're using Bitbucket Server instead, so I can reach out to the appropriate team and ask.
Please feel free to let me know if you have any questions.
Thank you for your reply!
I checked with Bitbucket Server team and the functionality of automatically removing PR approvals is not available in Bitbucket Server.
There is a plugin for Bitbucket Server that offers this feature:
I'm not sure if you're already using that?
With this plugin, removal of approvals occurs when new commits are pushed to the pull request's source branch, or the pull request is updated to target a different branch. I don't see any options to remove approvals based on custom rules though.
Since this plugin is developed by Atlassian, my suggestion would be to open a feature request in our issue tracker for our development team to take into account. Please select 'Bitbucket Server' as project and mention that the enhancement request concerns this specific plugin, so that unapproval will be possible based on other rules you set as well.
If you have any questions, please feel free to let me know.
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...
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