Export/Print list of GitHub repo issues

github

The repository that I am looking at has a great number of issues that I would like to read but it's not manageable while scrolling in GitHub interace. Is there an option to export or print a full list of issues for a repository?

Best Answer

There is an Issues API. To get all issues from a repo, you can use cURL:

curl -i https://api.github.com/repos/username/reponame/issues

This returns a JSON encoded list of all issues. And …

curl -i https://api.github.com/repos/username/reponame/issues?status=open

… returns all open issues. Now you just have to convert the JSON to CSV and you are set.