Forums

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

How to setup codeoweners in bitbucket cloud

Archana Patel
Contributor
July 24, 2018

I would like to setup a codeowners.

We are using bitbucket cloud.

 

11 answers

8 votes
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.
February 3, 2022

We, Mibex Software, are happy to announce that our app Code Owners for Bitbucket Cloud is now available.

To use it, simply add a CODEOWNERS file to your repository like follows:

# Example CODEOWNERS file

@@@FrontendTeam @"Peter Meier" @"Tim Muller"

src/components/*.js @@FrontendTeam
**/*.java @"Jamie Gartner"

When you create a pull request, the app adds the code owners as reviewers if the pull request changed any files matching these file patterns.

As you can see, you can use both individual Bitbucket Cloud users as well as configure your own teams in CODEOWNERS.

For more information (and current limitations), please check the app's documentation.

We are very interested in your feedback to improve the app and to cover your use cases. Please reach out to us in case of any questions.

8 votes
mateo.tibaquira
Contributor
June 25, 2020

We're considering to move our code to Gitlab because of this...

3 votes
David Gorski
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 18, 2020

With radio silence from Atlassian for over 2 years on this topic I'm not hopeful, but I would really be interested in knowing the state of this ask as well.  The ability to assign different required approvers based on specialty or at a file level is quite desirable.

2 votes
AJ Steers January 6, 2021

I concur - this is a much-needed feature and it's important enough that it should be considered an important differentiator between providers. For what it's worth, this plugin for Bitbucket Server (not Cloud) seems to add the needed features. Bitbucket - can you buy this from them and add to the Cloud product? 😅

Code Owners for Bitbucket Server | Atlassian Marketplace

Jose Alban July 6, 2021

3 years so far, and still in the dark. Bump!

Really desired feature for monorepo users.

mateo.tibaquira
Contributor
July 6, 2021

I've been adding comments in the yearly survey about this feature, 2 times already.

 

No attention so far, Atlassian seems deaf to our feedback.

1 vote
varun.vasudevan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 21, 2021

Oh my god, its almost 2022, can Atlassian please at least match their competition (even if they're incapable for outdoing them) and introduce CODEOWNERS? We have large amount of IaC in monorepos and we'd like to have fine-grained/file-level ownership to ensure that proper stakeholders are aware of any changes made to their respective files

This is now an essential feature/table stakes in 2022 and from my perspective, this one feature alone makes the transition from Github to Bitbucket woefully unpleasant and awful. This is the kind of thing that builds a momentum within the org to move back to Github

1 vote
Joseph Pedicini December 15, 2021

Just adding my voice here that this is a must have feature

1 vote
Yuri Bushnev September 30, 2021

Seeing the questions from Atlassian team on what community means by such requests shows how far it is from its competitors on this front. Can echo previous sentiments thinking that it is that type of basic feature that should be available for all Git code management solutions (similar as labels for repositories). 

I would propose for everybody ending up in this thread, drop a message to Mibex Software team who probably eventually develop some version of that plugin for cloud as they do have it for server (until there are some limitations and blockers). 

However, for our case, not sure if it happens first or we migrate from bitbucket as seeing this thread getting no attention from Atlassian drops any hope from here. 

1 vote
yunpeng.niu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2020

Hi BitBucket team,

 

Can we have a reply on this? Code owner is such a core feature that other major VCS platforms all support.

1 vote
Jonathan Kieliszak May 18, 2020

Are there any roadmap plans to support this? We also really need this feature which has been in github for multiple years.

Jonathan Kieliszak June 25, 2020

Any updates from bitbucket folks on this? Just trying to get an idea if it's being considered or whether I need to start looking at alternative providers. Thanks.

1 vote
Josh May 8, 2020

This is also something my team is trying to do, "codeowner" is the term Github uses. If Bitbucket could support the same format of file that'd be awesome
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2018

Hi Archana, welcome to the Community!

Can you elaborate a bit more what do you mean by 'setting up a codeowner' exactly?

Are you familiar with Bitbucket Cloud permissions? Is that something that would help you?

Best regards,

Ana 

Archana Patel
Contributor
July 26, 2018

Hi Ana,

Thank you for the response.

My requirement is that whenever any developer raise the pull request it should pop up with default reviewers.

There is one feature called default reviewers which is at the repo level.

I want to set default reviewers as more granular level.

To begin with at folder level.

e.g. I have one repo called Test and it contains backend and front-end code.

Now i need one set of reviewers for backend and other set of reviewers for the front-end. 

 

 

Thank You,

Archana

Like # people like this
Joshua Isaac
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 12, 2019

I would like to know the answer to this as well. Github has had this feature for 2 years, and it looks like there's a plugin available for Bitbucket Server.

Like # people like this
mateo.tibaquira
Contributor
November 21, 2019

Indeed, it's sad to not have this feature for so long, big companies cannot work properly in Bitbucket with the monorepo trend because of this.

Josh January 6, 2021

Hey @Ana Retamal I linked this on a different thread, but I think people are basically looking for Bitbucket to support the same thing Github does here - it's more about finding who would be the expert on that section of the codebase and be included in the review, not about limiting access


https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners

 

Ideally the same format so a repo could easily be moved from Github to Bitbucket

Javier de Vega Ruiz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2021

We are considering moving back to GitHub because of this.

Every other player supports this feature https://docs.gitlab.com/ee/user/project/code_owners.htmlhttps://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

It is really unbelievable this feature is not available in BitBucket.

Plugins seem to exist to fill this gap but not for Cloud https://marketplace.atlassian.com/apps/1218598/code-owners-for-bitbucket?tab=overview&hosting=datacenter

Can Atlassian please let their customers know here if they will support such functionality in Cloud and when? Not providing an answer is the equivalent of replying *never*, in which case many here will move.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events