Is it possible to bulk add external git repos to Fisheye

Svante Gustafsson Björkegren
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2013
Hi, I am setting up a brand new Fisheye/Crucible instance and have added a couple of existing repos to it. Easy process, I must say! But today I received a list with 120 repos that need to be added as well!! Is there a way to add external git repos in bulk? Rgrds, // Svante

1 answer

1 accepted

0 votes
Answer accepted
Nick
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2013

Hi Svante,

There are a few options available to you:

  1. All repository definitions are stored in the config.xml file in your FISHEYE_INST directory. You could create a script which inserts the 120 new repositories to that
  2. Use the new Admin REST API: https://docs.atlassian.com/fisheye-crucible/latest/wadl/fecru.html#d2e27 While not all options are supported, the common ones are. You can also use "Repository Defaults" to define common options which are then picked up by all repositories that don't overwrite them.
  3. If your repositories are on BitBucket or Stash, you may be able to use the Repository Synchronisation Plugin https://marketplace.atlassian.com/plugins/com.atlassian.fecru.reposync.reposync

Hope that helps!

Cheers,

Nick

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events