It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I manage forks in Stash?


I know that some users created forks of repositories, but there is no way for admin to find out which repos are forked and there is no way to find who forked what.

The reason that I want to do that is that I may want to purge or archive abandoned/stale forks.

It would be nice to have a view on forks.


Aleksey Maksimov

1 answer

1 vote

Stash currently does not have a view that show the forks of a repository, but there are still a few ways you can see the forks for a given repository.

There's a REST endpoint you can use:

GET /rest/api/latest/projects/PROJECT_KEY/repos/repo_slug/forks

The same endpoint is used in the repository selector in the dropdowns in the 'Create Pull Request' dialogue.

Hope this helps,



Do you plan on adding a "Forks" tab like "Branches" in the future? I've got a very simplistic plugin that does this, but lacks some features and polish, and wanted to know if this was a planned feature to Stash.

Hi Larry,

You might be interested in voting for:

I suspect it will happen, but it's not on our immediately roadmap.


@Larry Shatzer Do you have a link to said (fork display) plugin? Any chance it's open source? Was considering writing my own, but if one is already out there, no reason in duplicating.

It's not public, nor has it been updated or tested with anything past 2.12 version of Stash. So I'm not even sure it would work any more.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

1,623 views 6 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you