Change repository ownership through the REST API (BB-6671)

Issue #5333 open
Kristof Coomans created an issue

As far as I can see it is currently not possible to specify and/or change repository ownership through the REST API. Repositories you create through the REST API always end up in your own account.

It can be done through the GUI already (issue #4127), but obviously that is cumbersome and each sys admin wants to have that more automated when you need to set up several repositories each month in a middle-sized/big company.

Comments (26)

  1. Johannes Schwartz

    +1 Usecase: forking a repository through the rest api, adds ownership to the currently authenticated user. Being able to transfer ownership to teams would be tremendously helpful.

  2. Andrew Orton

    +1 vote. The creating and forking elements of the repo API are almost useless for us without this feature!

  3. Mirko Pluhar

    Support just pointed me at this feature request. What a joke, this request is 5+ years old. Dear Santa, ...

  4. Serge Dukic

    While (unlike @Mirko Pluhar) I don't believe in Santa Claus 🎅, I do agree that this feature is way overdue. With the recent software achitecture trend towards "microservices", we end up with 10 repositories where there previously would have been 1.

    Migrating each of these "by hand" is a recipe for RSI and is begging to be automated.

  5. David Katz

    +1 vote.

    Can we please at least get an update from Atlassian as to when this feature will be worked on?

  6. Brian Lee

    This feature really needs to be seriously considered. Managing multiple teams and repositories through GUI works, but via the API would be ideal. It's the one missing component to our integration.

  7. John Ottenlips

    This feature would help us tremendously with our automation and build scripts. Please consider adding this functionality.

  8. David ROUCHET

    +1 vote

    this is very sad that this request hasn’t been honored since 2012!

    we have 150+ repos to transfer in the coming days, and instead of running a script which will take few minutes, it will require us hours to do the same thing…

  9. Log in to comment