← 返回命令列表

Linux command

jira 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Initialize configuration

jira init

List recent issues

jira issue list

Filter issues

jira issue list --jql "[project = PROJ AND status = Open]"

Create an issue

jira issue create

View an issue

jira issue view [PROJ-123]

Move an issue

jira issue move [PROJ-123] "[In Progress]"

Assign an issue

jira issue assign [PROJ-123] [username]

Add a comment

jira issue comment add [PROJ-123] "[comment body]"

Open issue in browser

jira open [PROJ-123]

说明

jira (jira-cli) is an open-source command-line client for Atlassian Jira Cloud and Data Center. It provides interactive TUI flows for the common workflow operations (create, transition, comment) and JQL-driven listings suitable for piping into shell scripts. Authentication is handled via API tokens stored in ~/.config/.jira/.config.yml. The tool supports multiple Jira instances, custom fields, and templates for issue creation.

参数

-p, --project _key_
Override the default project key for the current invocation.
--config _file_
Path to a config file other than the default.
--debug
Enable verbose debug logging.
--help
Display help information.

FAQ

What is the jira command used for?

jira (jira-cli) is an open-source command-line client for Atlassian Jira Cloud and Data Center. It provides interactive TUI flows for the common workflow operations (create, transition, comment) and JQL-driven listings suitable for piping into shell scripts. Authentication is handled via API tokens stored in ~/.config/.jira/.config.yml. The tool supports multiple Jira instances, custom fields, and templates for issue creation.

How do I run a basic jira example?

Run `jira init` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p, --project _key_ do in jira?

Override the default project key for the current invocation.