What's the best way to migrate Github issues into Jira?

Katie O'Dowd March 15, 2018

I'd like to only migrate open issues, from multiple repos. I do not need to move code. 

2 answers

2 votes
Aswin Achuthan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2018

There was some plugins to do that job before, but those are only for Jira Server.

I'm not sure which version of JIRA you are using. But the following applies to both,

 

  1. Get list of issues in JSON format using following link from the browser
    https://api.github.com/repos/<repo-owner-name>/<repo-name>/issues?state:open
  2. Convert JSON to CSV using any online converter
  3. User Jira's External system import > choose CSV and upload the file.
Katie O'Dowd March 15, 2018

Thank you! Does that apply to the cloud version too?

Aswin Achuthan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2018

yes :)

andremoura_ November 26, 2018

Hey. Did you find a way to manage the formatting of github Markdown to Jira "markdown"?

Riley Shanahan January 14, 2019

this is not working for a private repo - does anyone have any advice on what else to do?

J. Pablo Fernández January 31, 2019

That URL is not working for me for a private repo in an organization. Not sure whether the fact that it's private or the fact that it's on an org is the problem.

Aswin Achuthan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 31, 2019

@andremoura_we are trying to convert github issues to Jira issues. So we are using JSON to CSV here. If you want to convert to confluence - use json to markdown convertor using npm package

 

@Riley Shanahanand @J. Pablo Fernández private repos need to be authorized to access api data.. Use tools like postman and use basic credentials to fetch the result (if it is one time thing)

morrisdj July 21, 2020

Basic auth in postman worked for me.  Thanks.

Aaron LeBeau June 22, 2023

I am attempting to use the following (with the appropriate information):

https://api.github.com/repos/<repo-owner-name>/<repo-name>/issues?state:open

And the result is that I am simply getting the issues page of the repo. Am I missing something?

1 vote
codestardust January 31, 2020

late answer for the above private repo question, but you need to use OAUTH token to access: https://developer.github.com/v3/

Suggest an answer

Log in or Sign up to answer