2025-07-24 22:27:13 -06:00
|
|
|
# jira
|
|
|
|
|
|
|
|
|
|
> Interface (third party) for interacting with Jira.
|
2026-02-18 06:55:01 -07:00
|
|
|
> Note: Obtaining a Jira API token and exporting it to the shell as a `$JIRA_API_TOKEN` variable is required.
|
|
|
|
|
> More information: <https://github.com/ankitpokhrel/jira-cli#commands>.
|
|
|
|
|
|
|
|
|
|
- Create a configuration file (required before using `jira`):
|
|
|
|
|
|
|
|
|
|
`jira init`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- List recent issues:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`jira issue {{[ls|list]}}`
|
|
|
|
|
|
|
|
|
|
- List unassigned issues with high priority:
|
|
|
|
|
|
|
|
|
|
`jira issue {{[ls|list]}} {{[-a|--assignee]}} x {{[-y|--priority]}} High`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
|
|
|
|
- List issues from the current sprint, assigned to me:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`jira sprint {{[ls|list]}} --current {{[-a|--assignee]}} $(jira me)`
|
2025-07-24 22:27:13 -06:00
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Create a new issue with a parent issue:
|
2025-07-24 22:27:13 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`jira issue create {{[-P|--parent]}} {{parent}}`
|
2026-02-18 06:55:01 -07:00
|
|
|
|
|
|
|
|
- Open an issue in the browser:
|
|
|
|
|
|
|
|
|
|
`jira open {{123}}`
|