Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

jira-cliJira CLI

Agent Skill

用于处理 Jira 项目、任务、缺陷、Sprint、负责人和状态流转。它适合让 Agent 辅助查询工单、汇总迭代进展、创建任务或整理需求和缺陷信息。使用时要确认项目权限、字段配置和工作流规则,不同团队的 Issue 类型、状态和必填字段可能不同;涉及批量改状态、改负责人或创建工单时,应先预览变更内容再执行。

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:jira-cli(Jira CLI)
来源仓库:https://github.com/dobby/jira-cli
仓库路径:skills/jira-cli
安装命令:
npx skills add https://github.com/dobby/jira-cli --skill jira-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dobby/jira-cli --skill jira-cli

简介

jira-cli 用于连接 Jira Server/Data Center 实例,通过 REST API v2 管理工单全流程。

  • 支持 Issue 查询、创建、状态流转及 Sprint 进度跟踪等常见项目管理操作。
  • 自动适配不同 Jira 实例的字段配置与工作流规则,提供统一命令行接口。
  • 批量操作前建议预览变更影响,特别注意权限边界与审计日志记录要求。
  • jira-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Jira CLI

Use jira-cli to interact with a self-hosted Jira Server/Data Center instance via the Jira REST API v2.

Platform Support

  • scripts/jira-cli is a launcher script.
  • Prebuilt binaries are expected in scripts/bin/ for:

- macOS arm64 (jira-cli-darwin-arm64) - Linux x86_64 (jira-cli-linux-x86_64)

  • If no compatible binary exists and source + Cargo are available, launcher falls back to cargo run --release.

When To Use

  • The user asks to read, search, or inspect Jira issues.
  • The user asks to create or update a Jira issue.
  • The user asks to transition an issue to a different status.
  • The user asks to link two Jira issues.
  • The user asks to add or read comments on an issue.
  • The user asks to validate Jira config or debug connectivity.

Setup

Read Setup Guide.

Command Contract

Global flags (before subcommand):

  • --project-root <path> (optional; default cwd)
  • --format <json|text> (default json)
  • --output <path> (optional output file)

Subcommands:

  • get-issue <KEY> — fetch a single issue

- --fields <comma-separated> (optional)

  • search — search with JQL

- --jql "<query>" (required) - --max-results N (default 50) - --fields <comma-separated> (optional)

  • create-issue — create a new issue

- --project <KEY> (required) - --type <Bug|Task|Story|...> (required) - --title <summary> (required) - --description <text> (optional) - --assignee <username> (optional) - --priority <High|Medium|Low> (optional)

  • update-issue <KEY> — update an existing issue

- --title, --description, --assignee, --priority (at least one required)

  • transition <KEY> — transition issue to a new status

- --transition-id <id> or --status-name <name> (exactly one required)

  • list-transitions <KEY> — list available transitions for an issue
  • link-issue <KEY> — link two issues

- --link-type <name> (required, e.g. "blocks", "relates to") - --target <KEY> (required)

  • list-link-types — list all available issue link type names
  • add-comment <KEY> — add a comment to an issue

- --body "<text>" (required)

  • list-comments <KEY> — list all comments on an issue
  • config validate — test connectivity and print authenticated user

Output Envelope

All commands return a JSON envelope:

{
  "version": "0.1.0",
  "ok": true,
  "command": "get-issue",
  "data": { ... },
  "meta": { "duration_ms": 42 }
}

On error:

{
  "version": "0.1.0",
  "ok": false,
  "command": "get-issue",
  "error": { "code": "JIRA_API_ERROR", "message": "..." }
}

Operational Guardrails

  • MUST use scripts/jira-cli for all Jira interactions.
  • MUST NOT call the Jira API directly (curl, fetch, reqwest, etc.).
  • MUST NOT read .agents/jira-cli/jira.toml or .env files directly.

Command Patterns

Validate config:

scripts/jira-cli --project-root /path/to/repo config validate

Get an issue:

scripts/jira-cli --project-root /path/to/repo get-issue PROJ-123

Search by JQL:

scripts/jira-cli --project-root /path/to/repo search --jql "project = PROJ AND status = 'In Progress'" --max-results 10

Create an issue:

scripts/jira-cli --project-root /path/to/repo create-issue --project PROJ --type Bug --title "Login fails on Safari" --description "Steps to reproduce..." --priority High

Update an issue:

scripts/jira-cli --project-root /path/to/repo update-issue PROJ-123 --title "Updated title" --assignee jsmith

List and apply a transition:

scripts/jira-cli --project-root /path/to/repo list-transitions PROJ-123
scripts/jira-cli --project-root /path/to/repo transition PROJ-123 --status-name "In Progress"

Link issues:

scripts/jira-cli --project-root /path/to/repo list-link-types
scripts/jira-cli --project-root /path/to/repo link-issue PROJ-123 --link-type "blocks" --target PROJ-456

Add and read comments:

scripts/jira-cli --project-root /path/to/repo add-comment PROJ-123 --body "Investigating root cause."
scripts/jira-cli --project-root /path/to/repo list-comments PROJ-123

Agent Guidelines

  • Default to --format json for machine parsing.
  • Use list-transitions before transition when the transition ID is unknown.
  • Use list-link-types before link-issue when the link type name is uncertain.
  • Use config validate when debugging connectivity issues.
  • Pass --project-root explicitly to avoid working-directory ambiguity.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.91%
按下载量换算22

Claude

28.44%
按下载量换算19

Cursor

18.82%
按下载量换算12

Gemini CLI

9.05%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills