Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

jiraJira 项目管理

Agent Skill

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

总安装

272

周安装

11

GitHub Stars

公开资料未说明

下载量

85
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

Jira CLI 用于查询、创建与管理 Jira 工单,支持 Sprint 与缺陷跟踪。

  • 适用于迭代进度汇总、任务分配与 Issue 状态流转操作。
  • 需配置 ATLASSIAN_BASE_URL、EMAIL 与 API_TOKEN 环境变量。
  • 安装方式:npx skills add https://github.com/avantmedialtd/skills --skill jira
  • 不同项目 Issue 类型与字段可能不同,批量操作前应预览变更

SKILL.md

Jira CLI

Command-line tool for managing Jira issues via af jira.

Setup

Add the following environment variables to your project's .env file (preferred names first; legacy JIRA_* names are still accepted and fall back to these when unset):

Project Defaults

If the project instructions specify a default Jira project key (e.g., Jira project: PROJ), use it as the default for --project, list, types, and JQL queries. Explicit user input always overrides the default.

Quick Reference

Run af jira --help for all options.

Read Operations

  • af jira get <issue-key> — Get issue details (renders a "Custom Fields" section when any are set)
  • af jira list <project> [--limit N] [--show-field a,b,c] — List project issues; --show-field adds custom-field columns
  • af jira search "<jql>" [--show-field a,b,c] — Search with JQL
  • af jira projects — List projects
  • af jira types <project> — List issue types
  • af jira fields [--project <key> --type <name>] [--refresh] [--verbose] — List custom fields; with --project/--type marks required fields and shows allowed values
  • af jira transitions <issue-key> — List available transitions
  • af jira comment <issue-key> — List comments
  • af jira remote-link <issue-key> — List remote links
  • af jira versions <project> — List all versions in a project
  • af jira version <version-id> — Get version details

Write Operations

  • af jira create --project <key> --type <type> --summary "<text>" [--description "<text>"] [--priority <name>] [--labels a,b,c] [--parent <key>] [--estimate <time>] [--fix-version <v1,v2>] [--affected-version <v>] [--field name=value]... [--field-json '<json>']
  • af jira update <issue-key> [--summary "<text>"] [--description "<text>"] [--priority <name>] [--labels a,b,c] [--estimate <time>] [--remaining <time>] [--fix-version <v1,v2>] [--affected-version <v>] [--field name=value]... [--field-json '<json>']
  • af jira transition <issue-key> --to "<status>"
  • af jira assign <issue-key> --to <email> (use --to none to unassign)
  • af jira comment <issue-key> --add "<text>"
  • af jira attach <issue-key> <file> — Attach a file (images, PDFs, etc.)
  • af jira delete <issue-key>

Link Operations

  • af jira link <issue-key> --to <issue-key> [--type "<name>"] — Link two issues (default type: "Blocks")
  • af jira unlink <issue-key> --from <issue-key> — Remove a link
  • af jira remote-link <issue-key> --url "<url>" --title "<text>" — Add a remote link
  • af jira remote-link <issue-key> --remove <link-id> — Remove a remote link

Version Operations

  • af jira version-create --project <key> --name "<text>" [--description "<text>"] [--start-date YYYY-MM-DD] [--release-date YYYY-MM-DD] [--released]
  • af jira version-update <id> [--name "<text>"] [--description "<text>"] [--start-date YYYY-MM-DD] [--release-date YYYY-MM-DD] [--released] [--unreleased]
  • af jira version-delete <id> [--move-fix-issues-to <id>] [--move-affected-issues-to <id>]

Output Formats

  • Default: Markdown
  • JSON: Add --json flag

Common Workflows

View my assigned issues

af jira search "assignee = currentUser() AND status != Done ORDER BY priority DESC"

Start working on an issue

af jira get PROJ-123
af jira transition PROJ-123 --to "In Progress"
af jira comment PROJ-123 --add "Starting work"

Complete an issue

af jira comment PROJ-123 --add "Done"
af jira transition PROJ-123 --to "Done"

Create a bug with details

af jira create --project PROJ --type Bug --summary "Login fails on Safari" \
  --description "Users cannot log in using Safari 17. Error: 'Invalid session'" \
  --priority High --labels safari,auth,urgent

Create a task with time estimate and version

af jira create --project PROJ --type Task --summary "Implement auth" \
  --estimate "4h" --fix-version "v1.0.0"

Create a subtask

af jira create --project PROJ --type Sub-task --summary "Write unit tests" \
  --parent PROJ-123

Link issues

# Block another issue
af jira link PROJ-123 --to PROJ-456

# Use a specific link type
af jira link PROJ-123 --to PROJ-456 --type "Relates"

# Remove a link
af jira unlink PROJ-123 --from PROJ-456

Remote links

# List remote links
af jira remote-link PROJ-123

# Add a remote link (e.g., design doc, PR, external resource)
af jira remote-link PROJ-123 --url "https://example.com/doc" --title "Design Doc"

# Remove a remote link
af jira remote-link PROJ-123 --remove 10042

Manage versions

# List versions
af jira versions PROJ

# Create a version
af jira version-create --project PROJ --name "v1.0.0" --release-date 2024-06-01

# Mark a version as released
af jira version-update 12345 --released

Update time tracking

af jira update PROJ-123 --estimate "8h" --remaining "2h"

Custom fields

Custom fields are instance-specific (Story Points, Sprint, Severity, and any custom selectors configured by the Jira admin). Reference them by alias (from af.json), by display name (case-insensitive, must be unambiguous), or by raw customfield_<digits> id — in that precedence order.

# Discover fields — lists every custom field in the instance
af jira fields

# Project-and-type scope marks required fields with ✓ and lists allowed values
af jira fields --project PROJ --type Story

# Bust the cache (instance catalog is cached 24h, createmeta 1h)
af jira fields --refresh

# Create with required custom fields
af jira create --project PROJ --type Story --summary "Redesign login" \
  --field storyPoints=5 --field severity=High

# Update a custom field
af jira update PROJ-123 --field storyPoints=8

# Clear a custom field (empty value after `=`)
af jira update PROJ-123 --field severity=

# JSON escape hatch for complex shapes (cascading selects, raw overrides)
af jira create --project PROJ --type Story --summary "X" \
  --field-json '{"customfield_10050":{"value":"A","child":{"value":"A1"}}}'

# Show custom fields as extra columns when listing
af jira list PROJ --show-field storyPoints,severity

Encoding rules (applied per --field):

  • number → numeric; string/date/datetime → raw string
  • option{value: "..."}; multi-select → array of those
  • user → resolves email/name to {accountId} via findUser; multi-user splits on commas
  • version{name: "..."}; multi-version array
  • sprint → numeric sprint ID only
  • Epic Link → issue key string
  • Empty value after =null (clears the field)
  • Unknown schema types pass through raw and warn to stderr — reach for --field-json if that doesn't encode correctly

Optional aliases live in af.json and make commands more ergonomic:

{
    "jira": {
        "customFields": {
            "storyPoints": { "id": "customfield_10016" },
            "sprint":      { "id": "customfield_10020", "type": "sprint" },
            "severity":    { "id": "customfield_10099" }
        }
    }
}

The CLI does not pre-validate required fields on create. Run af jira fields --project PROJ --type <type> first to see what Jira will require; otherwise the error message from Jira's 400 surfaces unchanged.

Attach files to an issue

# Attach a screenshot
af jira attach PROJ-123 ./screenshot.png

# Attach multiple files
for f in ./audit/*.png; do
  af jira attach PROJ-123 "$f"
done

Search examples

# My open issues
af jira search "assignee = currentUser() AND status != Done"

# Recent bugs in project
af jira search "project = PROJ AND type = Bug ORDER BY created DESC" --limit 10

# Unassigned issues
af jira search "project = PROJ AND assignee IS EMPTY"

# Issues updated this week
af jira search "project = PROJ AND updated >= -7d"

# High priority blockers
af jira search "priority = Highest AND status != Done"

Tips

  • Discover valid values first: Run af jira transitions <key> before transitioning, af jira types <project> before creating, af jira fields --project <key> --type <type> before creating an issue that requires custom fields
  • Use --json for scripting: Pipe output to jq for automation
  • Quote JQL queries: Always wrap JQL in double quotes to handle spaces
  • Time format: Use "2h", "1d", "30m" for estimates
  • Clearing flags: --fix-version "" clears versions; --field name= clears a custom field
  • Alias custom fields in af.json for nicer --field ergonomics; otherwise use the display name (case-insensitive, must be unambiguous) or the raw customfield_<digits> id

Error Handling

  • Errors print to stderr
  • With --json: {"error": "message"}
  • Exit codes: 0 success, 1 error

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.25%
按下载量换算29

Claude

29.83%
按下载量换算25

Cursor

20.26%
按下载量换算17

Gemini CLI

10.63%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills