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

jira-ticket-creatorJira ticket creator 工具

Agent Skill

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

总安装

10,819

周安装

391

GitHub Stars

5

下载量

4,426
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/openshift-hyperfleet/hyperfleet-claude-plugins --skill 'JIRA Ticket Creator'

简介

用于处理 Jira 项目、任务、缺陷、Sprint、负责人和状态流转。

  • 适合辅助查询工单、汇总迭代进展、创建任务或整理需求和缺陷信息。
  • 使用时需确认项目权限、字段配置和工作流规则,不同团队配置可能不同。
  • 涉及批量改状态、改负责人或创建工单时,应先预览变更内容再执行。
  • 安装方式:github,支持 Codex、Claude、Cursor、Gemini CLI。

SKILL.md

JIRA Ticket Creator Skill

⚠️ CRITICAL: JIRA Uses Wiki Markup, NOT Markdown!

YOU MUST USE JIRA WIKI MARKUP SYNTAX - NEVER USE MARKDOWN!

Element❌ WRONG✅ CORRECT
Header### Whath3. What (space required!)
Bullets- Item or • Item* Item
Nested- Nested** Nested
Inline Code` code `{{code}}
Bold**text***text*
Path Params/api/{id}/api/:id or /api/ID
Placeholders{customer-id}CUSTOMER_ID or :customer_id

If you use Markdown syntax, the ticket will render incorrectly in JIRA!

See "CRITICAL: JIRA Wiki Markup Formatting" section below for complete reference.


When to Use This Skill

Activate this skill when the user:

  • Asks to "create a ticket" or "create a story/task/epic"
  • Says "I need a JIRA ticket for..."
  • Asks "can you create a ticket for [feature/bug/task]?"
  • Wants to document work as a JIRA issue
  • Asks to "file a ticket" or "add a story"
  • Provides work that needs to be tracked

Required Ticket Structure

Every ticket created MUST include:

1. What (Required)

Clear, concise description of what needs to be done. Should be 2-4 sentences explaining the work.

2. Why (Required)

Business justification and context. Explain:

  • Why this work matters
  • Who benefits (users, team, system)
  • What problem it solves or value it delivers

3. Acceptance Criteria (Required)

Minimum 2-3 clear, testable criteria that define "done":

  • Must be objective and verifiable
  • Should cover functional requirements and edge cases
  • Use bullet format with specific details

4. Story Points (Required for Stories/Tasks/Bugs)

All Stories, Tasks, and Bugs must have story points:

  • Use scale: 0, 1, 3, 5, 8, 13
  • Follow the team's estimation guide (see Story Points section)

5. Priority (Required)

Set priority via CLI using -y or --priority:

  • Blocker - Blocks development/testing, must be fixed immediately
  • Critical - Crashes, data loss, severe memory leak
  • Major - Major loss of function
  • Normal - Default priority for most work
  • Minor - Minor loss of function, easy workaround

6. Activity Type (Required for Stories/Tasks/Bugs)

Set activity type via CLI using --custom activity-type="<value>". Valid types:

  • Associate Wellness & Development - Training, onboarding, team growth
  • Incidents & Support - Customer escalations, production issues
  • Security & Compliance - CVEs, security patches, compliance
  • Quality / Stability / Reliability - Bugs, tech debt, toil reduction, SLOs
  • Future Sustainability - Tooling, automation, architecture improvements
  • Product / Portfolio Work - New features, strategic product work

7. Optional Context

Additional sections can be added as needed:

  • Technical Notes: High-level implementation plan
  • Dependencies: Linked tickets or external dependencies
  • Out of Scope: Explicitly state what's NOT included

CRITICAL: JIRA Wiki Markup Formatting

JIRA uses wiki markup, NOT Markdown!

Headers

h3. What              ✅ Correct (space after period!)
h3. Why               ✅ Correct
**What**              ❌ Wrong (Markdown syntax)
### What              ❌ Wrong (Markdown syntax)

Bullets

* Item 1              ✅ Correct
** Nested item        ✅ Correct (two asterisks)
- Item 1              ❌ Wrong (Markdown syntax)
• Item 1              ❌ Wrong (Unicode bullet)
  - Nested            ❌ Wrong (indentation + dash)

Real Example - HYPERFLEET-255 (WRONG):

### Summary        ❌ Markdown header - won't render!

• POST /api/...    ❌ Unicode bullet - won't render!

Should Have Been:

h3. Summary        ✅ JIRA wiki header

* POST /api/...    ✅ JIRA wiki bullet

Inline Code

{{package/path}}              ✅ Correct
{{variable_name}}             ✅ Correct
`package/path`                ❌ Wrong (Markdown syntax)

Bold/Italic

*bold text*           ✅ Correct
_italic text_         ✅ Correct
**bold**              ❌ Wrong (Markdown syntax)

Code Blocks

DO NOT use code blocks in CLI-created tickets! They don't render properly.

{code:go}             ❌ Don't use via CLI (renders as empty gray box)
package main
{/code}

Instead:

  • Use inline code: {{package_name}}
  • Add code examples manually via web UI after creation
  • Or use descriptive text with inline code references

API Endpoints

*POST* /api/v1/clusters/:id                   ✅ Correct (bold HTTP method, colon notation)
*GET* /api/v1/clusters/CLUSTER_ID             ✅ Correct (placeholder text)
*POST* /api/v1/clusters/{id}                  ❌ Wrong - curly braces break rendering!
{{POST /api/v1/clusters/{id}}}                ❌ Wrong (nested braces break rendering)

Curly Braces Warning

NEVER use curly braces {} in ticket descriptions - they break JIRA rendering!

wif-{customer-id}-key                         ❌ Wrong - curly braces break rendering!
{{wif-{customer-id}-key}}                     ❌ Wrong - nested braces also break!
wif-CUSTOMER_ID-key                           ✅ Correct - use CAPS or other notation
/api/v1/clusters/{id}                         ❌ Wrong - path parameter braces break!
/api/v1/clusters/:id                          ✅ Correct - use colon notation
/api/v1/clusters/CLUSTER_ID                   ✅ Correct - use placeholder text

Alternatives to curly braces:

  • Use SCREAMING_CASE: wif-CUSTOMER_ID-key
  • Use colon notation: /api/v1/clusters/:id
  • Use angle brackets: wif-<customer-id>-key
  • Use square brackets: wif-[customer-id]-key

YAML in Code Blocks

NEVER include YAML comments in code blocks! The # character is interpreted as h1. header.

Wrong:

{code:yaml}
# This is a comment
field: value
{/code}

Correct Option 1 - Descriptive text:

Configuration fields:
* {{field: value}} - Description of field

Correct Option 2 - Code block without comments:

{code:yaml}
field: value
{/code}

Explanation outside code block...

Ticket Creation Workflow

Step 1: Gather Requirements

Ask the user clarifying questions if needed:

  • What type of ticket? (Epic, Story, Task, Bug)
  • What needs to be done? (What)
  • Why is this important? (Why)
  • How will we know it's done? (Acceptance Criteria)
  • How complex/large is this work? (for story points)
  • What category of work is this? (for activity type)

Step 2: Create Description File

⚠️ CRITICAL: Always create a temporary file with JIRA wiki markup (NOT Markdown!):

DO NOT USE:

  • ### Headers (Markdown)
  • - bullets or • bullets (Markdown/Unicode)
  • ` inline code ` (Markdown)
  • **bold** (Markdown)

USE ONLY:

  • h3. Headers (JIRA wiki - space required!)
  • * bullets (JIRA wiki)
  • {{inline code}} (JIRA wiki)
  • *bold* (JIRA wiki)

Template for Stories/Tasks (JIRA Wiki Markup):

h3. What

Brief description paragraph.

Detailed explanation paragraph (optional).

h3. Why

* Reason 1
* Reason 2
* Reason 3

h3. Acceptance Criteria:

* {{Component}} created/implemented/configured
* Feature X works correctly:
** Detail 1
** Detail 2
* Tests achieve >80% coverage
* Documentation updated

h3. Technical Notes:

* Use {{package-name}} for implementation
* Configuration in {{/path/to/config.yaml}}
* Important consideration
* Reference {{AnotherComponent}}

h3. Out of Scope:

* Item not included
* Another exclusion

Template for Epics:

h1. Epic Title

h3. Overview

Brief overview paragraph.

h3. What

* Key deliverable 1
* Key deliverable 2
** Sub-item
* Key deliverable 3

h3. Why

Explanation of business value and impact.

h3. Scope

*In Scope*:
* Item 1
* Item 2

*Out of Scope*:
* Item 3
* Item 4

h3. Success Criteria

* Criterion 1
* Criterion 2
* Criterion 3

Step 3: Determine Story Points

Use the estimation scale (from jira-story-pointer):

PointsMeaningTypical ScopeNotes
0Tracking OnlyQuick/easy task with stakeholder valueRarely used. For tasks worth tracking but with negligible effort compared to a 1-pointer
1TrivialOne-line change, extremely simple taskThe smallest issue possible - everything scales from here. No risk, very low effort, very low complexity
3StraightforwardTime consuming but fairly straightforward workDoesn't have to be complex, but usually time consuming. Minor risks possible
5MediumRequires investigation, design, collaborationProbably needs discussion with others. Can be quite time consuming or complex. Risks involved
8LargeBig task requiring investigation and designRequires collaboration with others. Solution can be quite challenging. Risks are expected. Design doc required
13Too LargeShould be split into smaller storiesIdeally, this shouldn't be used. If you see an issue this big, it must be broken down

Consider:

  • Scope (lines of code, files affected, integration points)
  • Complexity (new patterns, unfamiliar tech)
  • Risk (ambiguity, dependencies, unknowns)
  • Testing effort

Step 4: Assign Activity Type

Choose based on work category:

Reactive Work (Non-Negotiable First):

  • Associate Wellness & Development - Training, onboarding, team growth
  • Incidents & Support - Customer escalations, production issues
  • Security & Compliance - CVEs, security patches, compliance

Core Principles (Quality Focus):

  • Quality / Stability / Reliability - Bugs, tech debt, toil reduction, SLOs

Proactive Work (Balance Capacity):

  • Future Sustainability - Tooling, automation, architecture improvements
  • Product / Portfolio Work - New features, strategic product work

Step 5: Create the Ticket via jira-cli

IMPORTANT: Use the patterns that actually work!

Creating a Story

# 1. Save description to temporary file
cat > /tmp/story-description.txt << 'EOF'
h3. What

Description of what needs to be done.

h3. Why

* Reason 1
* Reason 2

h3. Acceptance Criteria:

* Criterion 1
* Criterion 2
* Criterion 3

h3. Technical Notes:

* Use {{package-name}}
* Configuration in {{/path/to/config}}
EOF

# 2. Create story with story points, priority, and activity type
jira issue create --project HYPERFLEET --type Story \
  --summary "Story Title (< 100 chars)" \
  --custom story-points=5 \
  --custom activity-type="Product / Portfolio Work" \
  --priority Normal \
  --no-input \
  -b "$(cat /tmp/story-description.txt)"

# 3. Note the ticket number from output (e.g., HYPERFLEET-123)

Creating a Task

# Same as Story, just change --type to Task
cat > /tmp/task-description.txt << 'EOF'
h3. What

Task description.

h3. Why

Justification.

h3. Acceptance Criteria:

* Criterion 1
* Criterion 2
EOF

jira issue create --project HYPERFLEET --type Task \
  --summary "Task Title" \
  --custom story-points=3 \
  --custom activity-type="Future Sustainability" \
  --priority Normal \
  --no-input \
  -b "$(cat /tmp/task-description.txt)"

Creating an Epic

CRITICAL: Epics require the Epic Name field!

# 1. Create description file
cat > /tmp/epic-description.txt << 'EOF'
h1. Epic Full Title

h3. Overview

Overview paragraph.

h3. What

* Deliverable 1
* Deliverable 2

h3. Why

Explanation.

h3. Success Criteria

* Criterion 1
* Criterion 2
EOF

# 2. Create epic with Epic Name (required field!)
jira issue create --project HYPERFLEET --type Epic \
  --summary "Epic: Full Title Here" \
  --custom epic-name="Short Name" \
  --template /tmp/epic-description.txt \
  --no-input

# Note: Use --custom epic-name="Name" (not epicName or customfield_12311141)

Creating a Bug

cat > /tmp/bug-description.txt << 'EOF'
h3. What

Description of the bug and its impact.

h3. Why

Why this needs to be fixed urgently.

h3. Acceptance Criteria:

* Bug is reproducible
* Root cause identified
* Fix is verified
* Regression test added
EOF

jira issue create --project HYPERFLEET --type Bug \
  --summary "Bug: Brief Description" \
  --custom story-points=5 \
  --custom activity-type="Quality / Stability / Reliability" \
  --priority Major \
  --no-input \
  -b "$(cat /tmp/bug-description.txt)"

Step 6: Post-Creation Manual Steps

After creating a ticket via CLI, these may need to be done manually via web UI:

  1. Link to Epic (for Stories)

- Edit ticket → Link → "is child of" → Epic ticket

  1. Add Labels

- Edit ticket → Labels field - Add relevant tags

  1. Add Code Examples (if needed)

- Edit description via web UI - Add {code:language}...{/code} blocks - Code blocks don't render properly via CLI

Note: Story points, priority, and activity type can all be set via CLI.

Step 7: Verify and Return Details

# View created ticket
jira issue view HYPERFLEET-XXX --plain

# Check in web UI
# URL: https://issues.redhat.com/browse/HYPERFLEET-XXX

Return to user:

Output Format

When creating a ticket, provide this output to the user:

### Ticket Created: HYPERFLEET-XXX

**Type:** [Story/Task/Epic/Bug]
**Summary:** [Title]
**Link:** https://issues.redhat.com/browse/HYPERFLEET-XXX

---

#### Description Structure (✅ Created via CLI)

**What:**
[What description]

**Why:**
[Why description]

**Acceptance Criteria:**
* Criterion 1
* Criterion 2
* Criterion 3

**Story Points:** [X points - set via CLI]
**Priority:** [Priority - set via CLI]
**Activity Type:** [Activity type - set via CLI]

---

#### Manual Steps Required (⚠️ Must be done via Web UI)

Please complete these steps in the JIRA web interface:

1. **Link to Epic**: [If applicable: Link to HYPERFLEET-XXX]
2. **Add Labels**: [Suggested: label1, label2]
3. **Add Code Examples**: [If needed: Add via web UI description editor]

**Why manual?** Epic links and code blocks don't render reliably via jira-cli.

Common Pitfalls to Avoid

❌ DON'T:

FORMATTING (Most Common Mistakes!):

  1. ❌ Use Markdown headers: ### What, ## Summary
  2. ❌ Use Markdown/Unicode bullets: - Item, • Item
  3. ❌ Use Markdown inline code: ` code `
  4. ❌ Use Markdown bold: **text**
  5. ❌ Forget space after JIRA headers: h3.What (needs h3. What)

TICKET EXAMPLES OF WRONG FORMATTING:

  • HYPERFLEET-255: Used ### Summary and • bullets - headers didn't render!

CURLY BRACES (Break JIRA Rendering!): 6. ❌ Use curly braces {} anywhere - e.g., {customer-id}, /api/{id} - breaks rendering! 7. ❌ Use {{}} around content with braces - doubly broken!

OTHER MISTAKES: 8. ❌ Include code blocks with {code}...{/code} via CLI (renders as empty boxes) 9. ❌ Put YAML comments (#) in code blocks (breaks rendering) 10. ❌ Use --body-file flag (doesn't exist!) 11. ❌ Mix Markdown and JIRA wiki markup in same ticket

TICKET EXAMPLES OF CURLY BRACE ISSUES:

  • HYPERFLEET-258: Used {customer-id} - broke rendering! Fixed with CUSTOMER_ID

✅ DO:

  1. Use JIRA wiki markup consistently
  2. Save descriptions to temporary files: -b "$(cat /tmp/file.txt)"
  3. Test with ONE ticket before creating multiple
  4. Use --no-input for non-interactive creation
  5. Set story points via CLI: --custom story-points=X
  6. Set priority via CLI: --priority Normal
  7. Set activity type via CLI: --custom activity-type="Product / Portfolio Work"
  8. Add code examples via web UI
  9. Use bold for HTTP methods: *POST* /api/path
  10. Use inline code for paths: {{/path/to/file}}

Troubleshooting

Issue: Epic Name Required Error

Error: customfield_12311141: Epic Name is required.

Solution:

--custom epic-name="Short Name"  ✅ Correct
--custom epicName="Name"          ❌ Wrong
--custom customfield_12311141     ❌ Wrong

Issue: Code Blocks Show as Empty Gray Boxes

Solution: Don't include code blocks via CLI. Add them manually via web UI after creation.

Issue: Headers Not Rendering

Solution: Ensure space after period: h3. What (not h3.What)

Issue: Bullets Not Working

Solution: Use * not -, and ** for nested (not indentation)

Issue: Story Points Not Setting

Solution: Use the exact syntax --custom story-points=X where X is 0, 1, 3, 5, 8, or 13. Example:

jira issue create --project HYPERFLEET --type Story \
  --summary "Title" --custom story-points=5 --no-input \
  -b "$(cat /tmp/desc.txt)"

Note: Activity type must still be set via web UI.

Best Practices

1. Always Test First

# Create ONE test ticket
jira issue create --project HYPERFLEET --type Story \
  --summary "TEST - Delete Me" \
  -b "$(cat /tmp/test-description.txt)" \
  --no-input

# Verify in CLI and web UI
jira issue view HYPERFLEET-XXX

# If good, create remaining tickets
# Delete test ticket when done

2. Store Description Files

Don't create tickets with inline strings. Always use files:

# Good
cat > /tmp/description.txt << 'EOF'
...
EOF
jira issue create ... -b "$(cat /tmp/description.txt)"

# Bad
jira issue create ... -b "h3. What\n\nLong description..."

3. Document Ticket Numbers

As tickets are created, track them:

# Epic created: HYPERFLEET-105
# Stories: HYPERFLEET-106, HYPERFLEET-107, HYPERFLEET-108

4. Batch Manual Steps

After creating multiple tickets via CLI:

  1. List all ticket numbers
  2. Open each in web UI
  3. Batch set: story points, activity type, labels, epic links
  4. More efficient than doing each individually

Integration with Other Skills

This skill complements:

  • jira-story-pointer: Use to refine story point estimates after creation
  • jira-triage: Use to validate ticket quality after creation
  • jira-cli: All operations use jira-cli under the hood

Quick Reference Card

Create Story:

cat > /tmp/desc.txt << 'EOF'
h3. What
...
h3. Why
...
h3. Acceptance Criteria:
* ...
EOF

jira issue create --project HYPERFLEET --type Story \
  --summary "Title" \
  --custom story-points=5 \
  --custom activity-type="Product / Portfolio Work" \
  --priority Normal \
  --no-input \
  -b "$(cat /tmp/desc.txt)"

Create Epic:

jira issue create --project HYPERFLEET --type Epic \
  --summary "Epic: Title" \
  --custom epic-name="Short Name" \
  --template /tmp/epic-desc.txt \
  --no-input

Story Points via CLI:

PointsWhen to Use
--custom story-points=0Tracking only, negligible effort
--custom story-points=1Trivial, one-line change
--custom story-points=3Straightforward, time consuming
--custom story-points=5Medium, needs investigation/collaboration
--custom story-points=8Large, design doc required
--custom story-points=13Too large - break it down!

Priority via CLI:

PriorityWhen to Use
--priority BlockerBlocks development/testing, fix immediately
--priority CriticalCrashes, data loss, severe memory leak
--priority MajorMajor loss of function
--priority NormalDefault for most work
--priority MinorMinor loss of function, easy workaround

Activity Type via CLI:

Activity TypeWhen to Use
--custom activity-type="Associate Wellness & Development"Training, onboarding, team growth
--custom activity-type="Incidents & Support"Customer escalations, production issues
--custom activity-type="Security & Compliance"CVEs, security patches, compliance
--custom activity-type="Quality / Stability / Reliability"Bugs, tech debt, toil reduction
--custom activity-type="Future Sustainability"Tooling, automation, architecture
--custom activity-type="Product / Portfolio Work"New features, strategic product work

Manual Steps (Web UI):

  1. Link to Epic
  2. Labels
  3. Code examples

Formatting:

  • Headers: h3. Text (space!)
  • Bullets: * and **
  • Inline code: {{code}}
  • Bold: *text*
  • API endpoints: *POST* /api/path/:id

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.89%
按下载量换算1,633

Claude

29.7%
按下载量换算1,315

Cursor

17.28%
按下载量换算765

Gemini CLI

8.51%
按下载量换算377

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills