How can I export GitHub issues to Excel?

mmar picture mmar · Dec 28, 2016 · Viewed 49.4k times · Source

How can I export all my issues from an Enterprise GitHub repository to an Excel file? I have tried searching many Stack Overflow answers but did not succeed. I tried this solution too (exporting Git issues to CSV and getting "ImportError: No module named requests" errors. Is there any tool or any easy way to export all the issues to Excel?

Answer

smbuthia picture smbuthia · Aug 30, 2017

To export from a private repo using curl, you can run the following:

curl -i "https://api.github.com/repos/<repo-owner>/<repo-name>/issues" -u "<user-name>"

Where the user has access to the private repo. You can then convert the resulting json into csv using any suitable converter as suggested in other answers.

Find authentication reference here.