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?

Aleksey Maksimov Sep 09, 2013


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
Michael Heemskerk Atlassian Team Sep 13, 2013

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,



Larry Shatzer Feb 11, 2014

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.

Charles O'Farrell Feb 14, 2014

Hi Larry,

You might be interested in voting for:

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


Eric Dec 10, 2014

@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.

Larry Shatzer Dec 11, 2014

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,263 views 1 22
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