DevSensei | Code Owners for Bitbucket

How to share groups of Code Owner across repositories?

To use groups of reviewers in your CODEOWNERS file, you have three options:

We recommend the usage of Bitbucket reviewer and user groups instead of defining custom groups when they change often, because
they require less effort to update.

Reviewer groups can be configured on both the Bitbucket repository and project-level. If you have new team members or others that leave,
you can just change that in one place in the Bitbucket UI, instead of updating all group definitions in all affected CODEOWNERS files.

Example of referencing a Bitbucket reviewer group in CODEOWNERS:

src/main/java/**   @@NameOfReviewerGroup