How do you find orphaned repositories in Stash?

Here is the scenario. I, the administrator, create a user. The user logs in and creates some repositories and only gives himself/herself access to said repositories.

The user is now fired and the administrator (actually the LDAP synchronization task) removes the user from Stash. How does the administrator find all of the repositories that the user created?

When I run this test, the repositories just seem to disappear. I have to know the names of the repositories to search for them and then I can add a new owner or delete them.

I work for a large organization and this scenario could lead to many orphaned repositories, because the administrator is not privy to every employee departure and certainly would not know what repositories were created by the user.

3 answers

I know I have orphaned repositories from failed repo creations in Stash.... I'd like to know this as well.


I've got a similar concern. We currently have ~200 devs on Stash and will be scaling up ultimately to ~1000. I'm worried about two things:

  1. Orphaned repos from devs that leave.
  2. Devs that are consuming too much disk space with personal repos.


0 vote

Hi all,

Thanks for raising this. We've created an issue to address that specifically which ties back to a better proposition for managing Stash repos in Stash.

Please refer to for workaround on how to obtain a list of orphaned repositories as well as how to remove them using the Stash UI. Please feel free to add yourselves to the watchlist and leave comments .

Kind regards,

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

24,969 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you