Can you believe it? Revoking pull request reviewer approvals when the pull request diff changes is not an out-of-the-box feature of your Bitbucket Datacenter installation! Thanks to the Atlassian Marketplace there is a free Auto-Unapprove app maintained by Atlassian that you can install. Yayy, but:
While it is important to encourage reviewers to return to the pull request and re-approve it, indicating they have verified the new changes….
That’s only 33.33% of the story: There are 2 more scenarios that are not covered;
In our latest update, Workzone for Bitbucket 9.1.0, we’ve added configuration options for those to help companies stay ahead in both regulatory compliance and code quality management. Read on!
This update introduces a repository hook that can automatically revoke all pull request approvals whenever any commit is made to the source branch. This includes rebase or squash commits — changes that might not alter the code itself but still affect the commit history.
Why This Feature Matters
Imagine a developer consolidates multiple commits into one through a rebase or squash. Even though the code remains unchanged, this new commit may still require review, especially in environments with strict regulatory requirements. By revoking existing approvals, Workzone ensures that all commits—whether they modify the code or not—are re-evaluated, providing a more stringent check on the codebase’s integrity.
Benefits for Companies
For companies aiming to achieve or maintain compliance standards, this feature provides an extra layer of security, ensuring that only the most rigorously reviewed code makes it to production. To learn more about other compliance-related features within Workzone, click here.
On the other side of the equation, Workzone can help your team speed up the approval process by leveraging context-aware reviewer approval status control. Great, big words: what’s behind it?
If there are file and/or module-based reviewers configured in Workzone, any new commits that are added to an existing pull request should revoke already given approvals, but only the ones that are relevant to the newly updated files, not all given approvals.
Repetitive and redundant work (speak pull request reviews) is extremely annoying for fast-moving teams. Why should team members re-approve changes they have already signed off on? That’s an insult and a waste of time, slows down the process, introduces delays and leads to a poor Pull Request Experience in general.
Well, leaders and managers love their processes, and we all have to follow them to get a bonus at the end of the year, right? But why not change the pull request review process to speed up team velocity without giving up control and attention to detail!
This is exactly where Workzone’s context-aware reviewer approval status control comes in. And, you don’t have to do or change anything, it just works in the background.
If you and your team are up for a better pull request process and greatly improved team velocity, give Workzone a try.
Here is how you do it;
2. Configure module/file reviewers
3. Turn on the magic
4. Sit back and watch your dev team’s G.S.D. – velocity go
If you want to learn more time-saving tricks with Bitbucket + Workzone – Here is another article worth reading
We’ll share more recipes next week – till then, happy coding…
Sean Manwarring,
Want to dive into the details of Workzone?
Visit the documentation space here
Try it out in our demo sandbox
Sean Manwarring _Izymes_
Head of Marketing at Izymes
Izymes
Australia
2 accepted answers
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
0 comments