This is a very small project intended to facilitate issue creation on GitHub. Give it a CSV file and it will bulk create those issues.
Make sure you have Node.js installed.
https://nodejs.org/en/
Create a tab separated data.csv file (or modify the existing one) in the root directory, like the following:
title assignees
Issue-1 username1
Issue-2 username1
title assignees
Issue-3 username1,username2,username3
https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
In .env.example file, you'll also have to specify the remaining fields: OWNER, REPO and FILENAME. Don't forget to change .env.example to .env.
TOKEN=27f036e889dcbcc6f1475fff27f036e827f036e8
OWNER=aeharake
REPO=test
FILENAME=data.csv
You may change this from the code in createIssues.js
module.exports = (filename, data) => {
fs.createReadStream(filename)
.pipe(csv({separator:'\t'}))
.on('data', async (row) => {
npm install
node index.js
Wait for a while, and you'll find your issues created in your specified repository.