← 返回命令列表

Linux command

jira-cli 命令

文本

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

常用示例

Initialize configuration

jira init

Create an issue

jira issue create

List issues

jira issue list -a$(jira me)

View an issue

jira issue view [ISSUE-123]

Move an issue

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

Open an issue

jira open [ISSUE-123]

List sprints

jira sprint list

Add a comment

jira issue comment add [ISSUE-123]

说明

jira-cli is an interactive command-line tool for Atlassian Jira that helps you manage issues, sprints, and projects without leaving the terminal. It supports issue creation, cloning, linking, transitions, comments, sprint management, and an interactive issue search with TUI selection. The tool uses Jira's REST API and supports both Jira Cloud and Jira Server. Configuration is stored locally with API token authentication.

参数

init
Configure Jira server and authentication
issue create
Create a new issue interactively
issue list
List issues with filters
issue view _KEY_
View issue details
issue move _KEY_ _STATUS_
Transition an issue
issue comment add _KEY_
Add a comment
sprint list
List sprints
open _KEY_
Open issue in browser
me
Print current user

FAQ

What is the jira-cli command used for?

jira-cli is an interactive command-line tool for Atlassian Jira that helps you manage issues, sprints, and projects without leaving the terminal. It supports issue creation, cloning, linking, transitions, comments, sprint management, and an interactive issue search with TUI selection. The tool uses Jira's REST API and supports both Jira Cloud and Jira Server. Configuration is stored locally with API token authentication.

How do I run a basic jira-cli example?

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

What does init do in jira-cli?

Configure Jira server and authentication