jira-tool
v1.0.2
Published
Command line interface for jira issues
Downloads
5
Maintainers
Readme
Jira command line tool
This is an experimental jira command line tool that allows viewing, editing, updating, transitioning and deleting jira content as if it was done on the Jira website.
Features
- View issue data
- View issues from JQL query
- Update/Add/Delete issue data
- Transition issues
Install
npm install -g jira-tool
Available Commands
s
jql
add
set
remove
transition
init
Todo
- Add autocompletion for available fields and transitions
- Add create issue
Quick Start
Display data from an issue
jira s 12345
Or
jira s KEY-12345
Display issues from a JQL query
jira jql "fixVersion = 1.6.0 AND component IN (Foo, Bar, Baz)"
Add a component
jira add 12345 component Foo
Remove a Fix Version
jira remove 12345 "Fix Version" "1.8.0"
Update a custom field
jira set 12345 "Branch Name" "FooBar"
Init
jira init
This prompts the user for the configuration of the jira account
url
Url for jirausername
Jira usernamepassword
Jira passwordissue-key-prefix
Prefix for an issue key. e.g if issue key is FOO-12345 then FOO can be entered so 12345 can be used on the command line
Show
jira s 12345
Display data from a single jira issue
Jql
jira jql "fixVersion IN (1.3.0, 1.4.0) AND component = Foo"
Query Jira for a specified list of issues
Add
jira add 12345 fixVersion "1.6.2"
Add data to a specific field
Set
jira set 12345 "Branch Name" "foo-bar"
Set data for a specific field
Remove
jira remove 12345 component FooBar
Remove data from a specific field