Changing Fisheye repository from Github to Stash - how?

We're trying to transition from Github to Stash at the moment, and of course one side-effect of this is that our Fisheye / Crucible instance that tracked all of our Github repos is now tracking the wrong code.

Given that our Github repo was mirrored to Stash as per the online docs, I would hope that there is a simple way to just re-point the repo in Fisheye and have everything just magically keep working. But alas, this is what happened when I tried to do that:

http://cl.ly/image/2f303p2O1S2C

Is there any way to achieve this transition without dropping the repo from Fisheye and adding a new one? I can only assume that dropping the repo will be extremely destructive to our existing (long) history of Crucible reviews that link to that code.

2 answers

1 accepted

This widget could not be displayed.

Glen,

You should be able to update the repository location, then reclone and reindex which will recreate the FishEye index without disrupting the Crucible data.

First step would be to make a backup :-)

Thanks Conor - that did the trick.

This widget could not be displayed.

Hi Glenn,

There is currently no way to automatically import Stash repositories into FishEye. However, we have an open issue to address this which can be tracked, commented or voted on here: https://jira.atlassian.com/browse/STASH-2589

As suggested in the above link, if you're using FishEye 2.10.0 - 2.10.7 you can try to use this plugin:

https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync

I hope this helps!

Hi Felipe,

Thanks for the response, but that's not really what I'm after. The solutions you're talking about are for automatically adding Stash repos to Fisheye. We only have a handful of repos so I'm not concerned with the manual effort of adding Stash repos to Fisheye.

What I am concerned with is preserving the history of reviews that we have (that stretches back years) based on the commits in our Github repo on Fisheye. What I want to do is remove the Github repo from Fisheye and add the Stash repo to Fisheye, and have all the Crucible reviews that reference commits from the old Github Fisheye repo now point to the Stash Fisheye repo.

Put another way:

- If I delete the Github repo from Fisheye, then add the Stash repo, will Crucible be smart enough to link up all the commits for the old reviews with the new Stash-based repo?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

115 views 2 0
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