Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 8

Import Issues from GitLab

I'm working on migrating from a private Gitlab instance to a Github developer account with private repos. I've imported my repos but now I need to move the Issues in Gitlab over to Github. After looking around for a couple hours about how to do this, I can't seem to find a simple way. 

 

I need to bring over Issues including...

  • Title
  • Description
  • Comment history
  • File attachments

 

There are enough issues that it would be impracticable to re-enter them manually. I'm fine with existing comments being collapsed into the description or something like that if fields don't quite match up, I just need all the content. 

 

Is there anyone out there with insight or advice on this? 

7 Replies
Community Manager
Message 2 of 8

Re: Import Issues from GitLab

Hi @DrewHood,

 

If you are able to get that information from GitLab in an organized format, you can use GitHub's Issue API endpoint to create issues on GitHub.com. To script this so that you don't have to do it manually, you might be interested in Octokit which are a set of frameworks for working with the GitHub API programmatically.

 

Thanks!

Ground Controller Lvl 1
Message 3 of 8

Re: Import Issues from GitLab

That sounds very complicated and time consuming. There should be an easy way to import issues from gitlab. After gitlab doesn't have any problem importing issues from github, so why can't the opposite be made to work simply?

Community Manager
Message 4 of 8

Re: Import Issues from GitLab

There are tools that other people have built for this purpose but since we don't maintain them or use them regularly, we can't vouch for these third-party tools.

Highlighted
Ground Controller Lvl 1
Message 5 of 8

Re: Import Issues from GitLab

Since I have the same task now to migrate a whole gitlab server with 50 projects on it, googling for some tooling to do the job revealed, among others, this guy: https://github.com/wollzelle/gitlab-github-migrate

 

This will be my first try. I'll post my experience with it here.

Ground Controller Lvl 1
Message 6 of 8

Re: Import Issues from GitLab

How did it go?

Ground Controller Lvl 1
Message 7 of 8

Re: Import Issues from GitLab

@basejumpa : Did you find a way to migrate the Gitlab issues to Github?

Ground Controller Lvl 1
Message 8 of 8

Re: Import Issues from GitLab

Interested in how you got on with this @basejumpa