Skip to content

A script written in Node to export Github issues into a csv file using their Graphql API.

Notifications You must be signed in to change notification settings

matbrady/github-issues-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Issue Exporter

A script written in Node to export Github issues into a csv file using their Graphql API.

Getting Started

  1. Create a Personal Access Token on Github (required to access the api)
  2. Clone this repo
  3. Modify your graphql query in index.js
  4. Run the script

Running the Script

node index.js --token YOUR_TOKEN --owner REPO_OWNER --repo REPO_NAME

Script Options

Usage: node index.js [options]

  Options:

    --token    [value]      Github OAuth token
    --owner    [value]      Github repo owner name
    --repo     [value]      Github repo name
    --filename [value]      Export file name

Modifying the Query

You can modify the query by adjusting the query string contained in the index.js file. Without any modifications, the script will export the last 100 open issues with their labels and comments.

About

A script written in Node to export Github issues into a csv file using their Graphql API.

Resources

Stars

Watchers

Forks

Packages

No packages published