Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Looking for answers on migration from GitLab to Stash

Kieran Lyons March 18, 2014

My company has an existing Git environment with Jira, Confluence, and GitLab. We are planning to move to Slash (probably, depending upon how painful it will be) and I have a few questions.

1. How do we move existing GitLab projects/Git repositories into Stash? The documentation is unclear whether we have to move the repositories to a new installation of Git or a new repository within Git, or if Stash will import an an existing repository in an existing Git installation.

2. I'm probably not going to like the answer to this one, but what happens to all of our GitLab code review comments?

3. Are there any hooks between Stash and Jenkins? Currently we can pull commit comments, code review comments, and diffs into an automatic "build change report" in Jenkins. Does Stash support that?

Thanks for the assistance,

Kieran Lyons

2 answers

1 accepted

1 vote
Answer accepted
ThiagoBomfim
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 24, 2014

Hi Kieran,

1. How do we move existing GitLab projects/Git repositories into Stash? The documentation is unclear whether we have to move the repositories to a new installation of Git or a new repository within Git, or if Stash will import an an existing repository in an existing Git installation.

Answer: in order to import existing repositories into Stash, you will have to execute the steps described on the Importing code from an existing project. Before that, after you'd installed Stash, make sure you Create projects and Create repos on your instance.

2. I'm probably not going to like the answer to this one, but what happens to all of our GitLab code review comments?

Answer: we don't support that level of integration with GitLab. We do have an issue for this: https://jira.atlassian.com/browse/STASH-3555. Please add your comments/votes.

3. Are there any hooks between Stash and Jenkins? Currently we can pull commit comments, code review comments, and diffs into an automatic "build change report" in Jenkins. Does Stash support that?

Answer:

There is a Stash Webhook to Jenkins available at our Marketplace. We also provide integration of third-party build servers with Stash using the Build Integration REST API as you can see on the Updating build status for commits page.

Best regards,

Thiago Bomfim

Atlassian Support - DevTools

1 vote
Daniel Blanchard September 8, 2014

I wrote a script to export a JIRA-compatible JSON file from GitLab with all of the project issues in it, and another to move code from GitLab to Stash.  You can download both of them here.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events