Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I export GitHub issues to Excel?

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?

like image 745
mmar Avatar asked Dec 28 '16 20:12

mmar


People also ask

Can you Export GitHub issues to excel?

Export Pull Requests can export issues to a CSV file, which can be opened with Excel.

How do I Export data from GitHub?

In the upper-right corner of any page, click your profile photo, then click Settings. In the left sidebar, click Account. Under "Export account data", click Start export or New export. Once the export is ready to download, GitHub will send you a download link to your primary email address.


1 Answers

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 --header "Authorization: token <token>"  

The token can be generated under Personal access tokens

Inspect the API description for all details.

like image 88
smbuthia Avatar answered Sep 19 '22 16:09

smbuthia