Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-4028

Allow bulk creation of Repositories/Projects through CSV

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      JIRA has a CSV import tool that allows the bulk creation of Projects simply by uploading a CSV with columns for project key, project name/description, username of the project owner, etc.

      We should have the same feature in FishEye. I am in the middle of a migration from a Collabnet TeamForge server with 60+ projects and 130+ individual SVN repositories, and there was no way I was going to type these into FishEye one by one.

      I solved this by going to SQL Server and inserting the records for my 60 projects directly. Since I already had a list of all 60 projects, it only took a minute to write a regular expression to build the 60 SQL Insert statements.

      In order to create the 130 repositories I had to discover (the hard way) that repositories are not registered in the database, instead they are kept in an XML file. I used a similar approach: I had a list of the repository URLs I wanted to create, with their usernames, passwords, etc. With about 5 minutes of regular expressions I was able to build the XML that would register these repositories, I pasted it into the XML config file, restarted FishEye and bang! 130 repositories registered successfully.

      If this was an ideal world, I would like to be able to create these hundreds of repositories by uploading a CSV or something like that. Also, I would find it useful if I could create Application links to both JIRA and Confluence, right now I have no choice but to link each of the 60 projects and each of the 130 repositories by hand, that's two links times 190 items!

              Unassigned Unassigned
              30afaf5ad5bf pedro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: