SuguruOoki / simple-linear-issue-creator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

General

This is Linear 's bulk issue creation tool.

  1. Install pnpm
  2. Install dependencies and run the script
  3. Generate ApiKey from Linear Settings(Workspace Settings -> API -> Personal API tokens -> "Create Key" Button)
  4. Add ApiKey to .api_key file
  5. if you want to use default team and project id, add them(uuid) to .default_team_id and .default_project_id files

use test.csv file to create issues

$ pnpm i
$ ./node_modules/.bin/ts-node index.ts

use your original csv file to create issues

$ pnpm i
$ ./node_modules/.bin/ts-node index.ts -f <your csv file path>

mode

--mode or -m

"mode" argument has 4 options

  1. createIssues
  2. displayProjects
  3. displayUsers
  4. displayTeams

default: createIssues

$ ./node_modules/.bin/ts-node index.ts --mode displayProjects
$ ./node_modules/.bin/ts-node index.ts -m displayProjects

if "mode" is "createIssues", you require -f option.

About


Languages

Language:TypeScript 100.0%