jira-cli by code-and-sorts/awesome-copilot-agents
npx skills add https://github.com/code-and-sorts/awesome-copilot-agents --skill jira-cli通过命令行与 Atlassian Jira 交互,使用 jira-cli。
brew install ankitpokhrel/jira-cli/jira-cli (macOS) 或从 发布页面 下载export JIRA_API_TOKEN="your-token"jira init 并按照提示操作# 列出当前项目中的问题
jira issue list
# 列出分配给我的问题
jira issue list -a$(jira me)
# 按状态列出问题
jira issue list -s"In Progress"
# 列出高优先级问题
jira issue list -yHigh
# 使用多个过滤器列出问题
jira issue list -a$(jira me) -s"To Do" -yHigh --created week
# 使用原始 JQL 列出问题
jira issue list -q "project = PROJ AND status = 'In Progress'"
# 用于脚本的纯文本输出
jira issue list --plain --columns key,summary,status --no-headers
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
# 交互式创建问题
jira issue create
# 指定所有选项创建
jira issue create -tBug -s"Login button not working" -b"Description here" -yHigh --no-input
# 创建一个故事
jira issue create -tStory -s"Add user authentication" -yMedium
# 创建时添加标签和组件
jira issue create -tTask -s"Update dependencies" -lmaintenance -l"tech-debt" -Cbackend
# 创建并分配给自己
jira issue create -tBug -s"Fix crash on startup" -a$(jira me) --no-input
# 查看问题详情
jira issue view ISSUE-123
# 查看问题及评论
jira issue view ISSUE-123 --comments 10
# 以纯文本格式查看
jira issue view ISSUE-123 --plain
# 在浏览器中打开问题
jira open ISSUE-123
# 编辑摘要
jira issue edit ISSUE-123 -s"Updated summary"
# 编辑描述
jira issue edit ISSUE-123 -b"New description"
# 编辑优先级
jira issue edit ISSUE-123 -yHigh
# 添加标签
jira issue edit ISSUE-123 -lnew-label
# 将问题移动到新状态
jira issue move ISSUE-123 "In Progress"
# 移动并添加评论
jira issue move ISSUE-123 "Done" --comment "Completed the task"
# 移动并设置解决结果
jira issue move ISSUE-123 "Done" -RFixed
# 分配给自己
jira issue assign ISSUE-123 $(jira me)
# 分配给特定用户
jira issue assign ISSUE-123 username
# 取消分配
jira issue assign ISSUE-123 x
# 添加评论
jira issue comment add ISSUE-123 "This is my comment"
# 从编辑器添加评论
jira issue comment add ISSUE-123
# 记录时间
jira issue worklog add ISSUE-123 "2h 30m"
# 记录时间并添加评论
jira issue worklog add ISSUE-123 "1d 4h" --comment "Completed feature implementation" --no-input
# 链接两个问题
jira issue link ISSUE-123 ISSUE-456 Blocks
# 取消链接问题
jira issue unlink ISSUE-123 ISSUE-456
# 克隆一个问题
jira issue clone ISSUE-123 -s"Cloned: New summary"
# 删除一个问题
jira issue delete ISSUE-123
# 列出史诗
jira epic list
# 以表格格式列出史诗
jira epic list --table
# 创建一个史诗
jira epic create -n"Q1 Features" -s"Epic summary" -b"Epic description"
# 将问题添加到史诗
jira epic add EPIC-1 ISSUE-123 ISSUE-456
# 从史诗中移除问题
jira epic remove ISSUE-123 ISSUE-456
# 列出冲刺
jira sprint list
# 列出当前/活跃冲刺
jira sprint list --current
# 列出当前冲刺中分配给我的问题
jira sprint list --current -a$(jira me)
# 将问题添加到冲刺
jira sprint add SPRINT_ID ISSUE-123 ISSUE-456
# 列出项目
jira project list
# 列出看板
jira board list
# 列出发布/版本
jira release list
# 在浏览器中打开项目
jira open
# 获取当前用户名
jira me
# 显示帮助
jira --help
jira issue --help
# 设置 Shell 自动补全
jira completion bash # 或 zsh, fish, powershell
| 标志 | 描述 |
|---|---|
--plain | 纯文本输出(无交互式 UI) |
--raw | 原始 JSON 输出 |
--csv | CSV 输出 |
--no-input | 跳过交互式提示 |
-t, --type | 问题类型(Bug, Story, Task, Epic) |
-s, --summary | 问题摘要/标题 |
-b, --body | 问题描述 |
-y, --priority | 优先级(Highest, High, Medium, Low, Lowest) |
-l, --label | 标签(可重复) |
-a, --assignee | 被分配者用户名 |
-r, --reporter | 报告者用户名 |
-C, --component | 组件名称 |
-P, --parent | 父问题/史诗键 |
-q, --jql | 原始 JQL 查询 |
--created | 按创建日期筛选(-7d, week, month) |
--order-by | 排序字段 |
--reverse | 反向排序顺序 |
# 分配给自己并移动到"进行中"
jira issue assign ISSUE-123 $(jira me)
jira issue move ISSUE-123 "In Progress"
# 记录工作时间并关闭
jira issue worklog add ISSUE-123 "4h" --no-input
jira issue move ISSUE-123 "Done" --comment "Completed" -RFixed
# 查看我当前冲刺的任务
jira sprint list --current -a$(jira me)
# 创建缺陷
jira issue create -tBug -s"App crashes on login" -yHigh -lbug --no-input
# 记下返回的问题键,然后分配
jira issue assign BUG-123 $(jira me)
jira issue move BUG-123 "In Progress"
| 命令 | 使用场景 |
|---|---|
jira issue list --plain | 适合脚本处理的输出 |
jira issue list --raw | 用于解析的 JSON |
jira issue list --csv | 导出到电子表格 |
jira init 配置--custom 标志并指定字段 ID每周安装量
216
代码仓库
GitHub 星标数
448
首次出现时间
2026年1月22日
安全审计
安装于
opencode197
codex189
gemini-cli185
github-copilot182
cursor171
amp168
Interact with Atlassian Jira from the command line using jira-cli.
brew install ankitpokhrel/jira-cli/jira-cli (macOS) or download from releasesexport JIRA_API_TOKEN="your-token"jira init and follow prompts# List issues in current project
jira issue list
# List my assigned issues
jira issue list -a$(jira me)
# List issues by status
jira issue list -s"In Progress"
# List high priority issues
jira issue list -yHigh
# List issues with multiple filters
jira issue list -a$(jira me) -s"To Do" -yHigh --created week
# List issues with raw JQL
jira issue list -q "project = PROJ AND status = 'In Progress'"
# Plain text output for scripting
jira issue list --plain --columns key,summary,status --no-headers
# Interactive issue creation
jira issue create
# Create with all options specified
jira issue create -tBug -s"Login button not working" -b"Description here" -yHigh --no-input
# Create a story
jira issue create -tStory -s"Add user authentication" -yMedium
# Create with labels and components
jira issue create -tTask -s"Update dependencies" -lmaintenance -l"tech-debt" -Cbackend
# Create and assign to self
jira issue create -tBug -s"Fix crash on startup" -a$(jira me) --no-input
# View issue details
jira issue view ISSUE-123
# View with comments
jira issue view ISSUE-123 --comments 10
# View in plain text
jira issue view ISSUE-123 --plain
# Open issue in browser
jira open ISSUE-123
# Edit summary
jira issue edit ISSUE-123 -s"Updated summary"
# Edit description
jira issue edit ISSUE-123 -b"New description"
# Edit priority
jira issue edit ISSUE-123 -yHigh
# Add labels
jira issue edit ISSUE-123 -lnew-label
# Move issue to a new status
jira issue move ISSUE-123 "In Progress"
# Move with comment
jira issue move ISSUE-123 "Done" --comment "Completed the task"
# Move and set resolution
jira issue move ISSUE-123 "Done" -RFixed
# Assign to self
jira issue assign ISSUE-123 $(jira me)
# Assign to specific user
jira issue assign ISSUE-123 username
# Unassign
jira issue assign ISSUE-123 x
# Add a comment
jira issue comment add ISSUE-123 "This is my comment"
# Add comment from editor
jira issue comment add ISSUE-123
# Log time
jira issue worklog add ISSUE-123 "2h 30m"
# Log time with comment
jira issue worklog add ISSUE-123 "1d 4h" --comment "Completed feature implementation" --no-input
# Link two issues
jira issue link ISSUE-123 ISSUE-456 Blocks
# Unlink issues
jira issue unlink ISSUE-123 ISSUE-456
# Clone an issue
jira issue clone ISSUE-123 -s"Cloned: New summary"
# Delete an issue
jira issue delete ISSUE-123
# List epics
jira epic list
# List epics in table format
jira epic list --table
# Create an epic
jira epic create -n"Q1 Features" -s"Epic summary" -b"Epic description"
# Add issues to epic
jira epic add EPIC-1 ISSUE-123 ISSUE-456
# Remove issues from epic
jira epic remove ISSUE-123 ISSUE-456
# List sprints
jira sprint list
# List current/active sprint
jira sprint list --current
# List my issues in current sprint
jira sprint list --current -a$(jira me)
# Add issues to sprint
jira sprint add SPRINT_ID ISSUE-123 ISSUE-456
# List projects
jira project list
# List boards
jira board list
# List releases/versions
jira release list
# Open project in browser
jira open
# Get current username
jira me
# Show help
jira --help
jira issue --help
# Setup shell completion
jira completion bash # or zsh, fish, powershell
| Flag | Description |
|---|---|
--plain | Plain text output (no interactive UI) |
--raw | Raw JSON output |
--csv | CSV output |
--no-input | Skip interactive prompts |
-t, --type | Issue type (Bug, Story, Task, Epic) |
-s, --summary | Issue summary/title |
# Assign to self and move to In Progress
jira issue assign ISSUE-123 $(jira me)
jira issue move ISSUE-123 "In Progress"
# Log work and close
jira issue worklog add ISSUE-123 "4h" --no-input
jira issue move ISSUE-123 "Done" --comment "Completed" -RFixed
# View my current sprint tasks
jira sprint list --current -a$(jira me)
# Create bug
jira issue create -tBug -s"App crashes on login" -yHigh -lbug --no-input
# Note the returned issue key, then assign
jira issue assign BUG-123 $(jira me)
jira issue move BUG-123 "In Progress"
| Command | Use Case |
|---|---|
jira issue list --plain | Script-friendly output |
jira issue list --raw | JSON for parsing |
jira issue list --csv | Export to spreadsheet |
jira init configuration--custom flag with field IDsWeekly Installs
216
Repository
GitHub Stars
448
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode197
codex189
gemini-cli185
github-copilot182
cursor171
amp168
Azure 升级评估与自动化工具 - 轻松迁移 Functions 计划、托管层级和 SKU
73,200 周安装
-b, --body |
| Issue description |
-y, --priority | Priority (Highest, High, Medium, Low, Lowest) |
-l, --label | Labels (repeatable) |
-a, --assignee | Assignee username |
-r, --reporter | Reporter username |
-C, --component | Component name |
-P, --parent | Parent issue/epic key |
-q, --jql | Raw JQL query |
--created | Filter by creation date (-7d, week, month) |
--order-by | Sort field |
--reverse | Reverse sort order |