How can I backup Github bugtracker?

1.4k views Asked by At

How can I easily backup & restore bugtracker of project on Github? Repository itself is obvious, wiki is also a git repository - but what about bugtracker?

I want to fully backup bugtracker (tickets, attached imaged, labels, comments, images attached in comments, dates of creation and closing of tickets etc) with ability to recreate it on github account.

Saving it as editable format would be a good bonus.

I am aware about Github API and that I can make tool like this. But I would prefer to use (optionally improve) existing one.

1

There are 1 answers

2
VonC On

Existing ones mainly export the issue text, not always their attachments.

Those services could be extended with the issue API to export more.

A more complete service is backhub.co, which exports a bit more (but isn't as easily expendable). It is free for public repos.


Update August 2018: vorburger adds in the comments a direct link example of how to use the GitHub Issues API to obtain all comments from a particular issue:

https://api.github.com/repos/JDKMissionControl/jmc/issues/1/comments