Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Possibility to add a mandatory reviewer for a specific file in Bitbucket repo ?

Pasha Shwartz March 16, 2022

Hi .

I was wondering if there is a possibility to add a mandatory reviewer for a specific file in the Bitbucket repo(Cloud)?

 

1 answer

1 accepted

0 votes
Answer accepted
Michael Rüegg _Mibex Software_
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.
March 16, 2022

Hi,

Welcome to the Atlassian community!

Default Reviewers in Bitbucket Cloud do not support individual files, they are always added to new pull requests of the repository where you configure them.

You can add reviewers for specific files with the concept of Code Owners. Just add a CODEOWNERS file to your repository where you configure rules like the following:

 

LICENSE    @"CTO"

 

Whenever somebody touches the file LICENSE in a pull request, CTO will be added as a reviewer to your pull request.

There is an app in the Marketplace supporting Code Owners

 

Best regards,

Michael (vendor of the mentioned Code Owners app)

Pasha Shwartz March 16, 2022

Thank you Michael ,

I guess CODEOWNERS is the best choice.

Pasha Shwartz March 21, 2022

Actually seems like the app is unavailable.

When a click on "Get it now" it gives me 

Resource not found.

I went for a cloud version. 

Michael Rüegg _Mibex Software_
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.
March 21, 2022

@Pasha ShwartzThanks for your feedback. I was not able to reproduce this. Are you logged in to Bitbucket Cloud when you clicked "get it now"? Could you please create a support request?

Pasha Shwartz March 21, 2022

@Michael Rüegg _Mibex Software_ I was able to log in. Also, I am an admin.

I will create a support ticket. 

Thanks for the advice.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events