A command line tool for bulk registering of Backlog issue.
This package can be installed with the go get command:
$ go get github.com/vvatanabe/backlog-bulk-issue-registration-cli
Built binaries are available on Github releases:
https://github.com/vvatanabe/backlog-bulk-issue-registration-cli/releases
$ bbir [options] FILE_PATH
If you do not specify a FILE_PATH, it will listen on standard input.
--host, -H value (Required) backlog host name. Ex: xxx.backlog.jp [$BACKLOG_HOST]
--project, -P value (Required) backlog project key. [$BACKLOG_PROJECT_KEY]
--key, -K value (Required) backlog api key. [$BACKLOG_API_KEY]
--lang, -l value language setting. (ja or en) (default: "en") [$BACKLOG_LANG]
--progress, -p show progress bar
--check, -c check mode (validation only)
--help, -h show help
--version, -v print the version
API Key is necessary because this CLI depends on Backlog API v2.
https://support.backlog.com/hc/en-us/articles/115015420567-API-Settings
From file:
$ bbir --host="xxx.backlog.jp" \
--project="yourProjectKey" \
--key="yourAPIKey" \
./testdata/example.csv
From standard input:
$ cat ./testdata/example.csv | bbir \
--host="xxx.backlog.jp" \
--project="yourProjectKey" \
--key="yourAPIKey" \
- Summary (Required)
- Description
- StartDate
- DueDate
- EstimatedHours
- ActualHours
- IssueTypeName (Required)
- Category
- Version
- Milestone
- Priority
- Assignee
- ParentIssue
- CustomFields
Please refer to the example below:
If you put an asterisk in parent issue, the above issue becomes the parent issue:
Header: Summary (Required), ... , ParentIssue
Line 1: Summary1 , ... , (This line is parent issue of line 2 and 3.)
Line 2: Summary1-1 , ... , * (This line is child issue of line 1.)
Line 3: Summary1-2 , ... , * (This line is child issue of line 1.)
backlog-bulk-issue-registration-gas
For bugs, questions and discussions please use the Github Issues.