Looking for answers on migration from GitLab to Stash

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
Accepted answer

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

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
Community showcase
Posted Dec 07, 2018 in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

375 views 27 4
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