Jiraya is a simple CLI to deal with Jira issues.
λ jiraya --help
jiraya - Simple Jira CLI.
Usage:
jiraya assign <issue> [<username>] [--project=<name>]
jiraya backlog [--project=<name>]
jiraya comment <issue> <message> [--project=<name>]
jiraya comments <issue> [--project=<name>]
jiraya doing [--user=<user>] [--project=<name>]
jiraya info <issue> [--project=<name>]
jiraya move <issue> [<status>] [--project=<name>]
jiraya open <issue> [--project=<name>]
jiraya review [--project=<name>]
jiraya tasks <issue> [--project=<name>]
jiraya todo [--project=<name>]
jiraya unassign <issue> [--project=<name>]
jiraya url <issue>
jiraya (-h | --help)
jiraya --version
Options:
-h --help Show this screen.
--version Show version.
-p --project=<name> Jira project name. Also configurable with JIRA_DEFAULT_PROJECT environment variable.
Jiraya uses Basic Auth for authentication on Jira API. You'll need to export the following environment variables:
JIRA_URL
: This is your Jira instance base endpoint, such as: https://mycompany.atlassian.net. If you use Jira on premises, point this to your internal endpoint.JIRA_USERNAME
: Your Jira username.JIRA_PASSWORD
: Your Jira username.JIRA_DEFAULT_PROJECT
: Jira default project. (Optional, all commands support--project
)
My main workflow consists on:
- Finding a planned issue to work on:
jiraya todo
- Assigning it to myself:
jiraya assign RO-42
- Moving the issue to "In progress":
jiraya move RO-42 "In Progress"
. Usejiraya move RO-42
to list the available statuses. - Adding comments:
jiraya comment RO-42 "Jiraya is awesome"
- Moving to next status:
jiraya move RO-42 "Review"
- Repeat
MIT