This repo contains a github issue parser, that is useful for Enterprise Github accounts. Sometimes is needed to parse the content of the issue for some data extraction or statistics purposes.
You need to have Golang installed on your machine.
- Generate a Personal Access Token on your Github.
- Set the following environment variables to be able to fetch the issues in your repository that you are looking for:
ACCESS_TOKEN=<The one you generated on Github> REPO=<ORGANIZATION/REPO> QUERY=<QUERY YOU ARE LOOKING FOR>
ACCESS_TOKEN=verysecrettoken REPO=my-cool-org/repo-name QUERY=[Feedback] in:title
To know more about the query options on the Github APIs, checkout their docs.
extractIssueToCSV method, accepts
parser as a function. Feel free to adapt the Parser to your needs and templates you use in your Github Issues.
You can get your result as a