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

This widget could not be displayed.

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

This widget could not be displayed.

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
Published Sep 17, 2018 in Teamwork

The tools we make for teams? We use them every day at Atlassian to get shit done (and it works).

I’m Jess, a Product Marketer for Jira Software Server and Data Center, and now a huge fan of our products. Read on for a 90 day, new-hire perspective on what it’s like to standardize on the Atlassian...

44 views 0 3
Read article

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