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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted
ThiagoBomfim Atlassian Team Mar 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

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
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

118 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you