一键导入
x-create-ticket
Create a new Jira ticket with user-approved summary and description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new Jira ticket with user-approved summary and description
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Assess the current state of a Jira ticket and produce a summary for development work
Load full context for modifying Claude Code configuration, settings, hooks, MCP servers, skills, or the wrapper script on this machine
Convert an existing instruction file (scenario, agent, command) into a proper Claude Code skill
Claim a Jira ticket and set up tracking (administrative only - NO technical work)
Audit project-local Claude Code permissions and migrate appropriate ones to user scope
Expert code review of the most recent commit
| name | x-create-ticket |
| description | Create a new Jira ticket with user-approved summary and description |
| argument-hint | ["context or instructions"] |
| disable-model-invocation | true |
| allowed-tools | Bash(jira-*), Bash(ticket-*), Bash(jira issue view *), Bash(jira issue move *), Read, Grep, Glob, AskUserQuestion |
You are helping the user create a new Jira ticket.
This skill creates a Jira ticket and STOPS. It does NOT onboard the ticket into tracking systems — that's what /x-take-ticket is for.
/x-take-ticket or any onboarding stepsRun these from the skill's scripts/ directory:
jira-create-ticket <PROJECT> <TYPE> <SUMMARY> [DESCRIPTION] — Creates a ticket, outputs the new ticket keyAlso available from /x-take-ticket's scripts (for reading existing tickets):
${CLAUDE_SKILL_DIR}/../x-take-ticket/scripts/jira-ticket-info <TICKET> — Shows ticket details${CLAUDE_SKILL_DIR}/../x-take-ticket/scripts/ticket-config <key> — Retrieves config valuesRead the user's arguments and any conversation context to understand what ticket they want to create.
If the user references an existing ticket (e.g., "read CLASS-893"), fetch it:
~/.claude/skills/x-take-ticket/scripts/jira-ticket-info <TICKET>
If the user points to files (plan docs, investigation summaries, etc.), read those files to understand the context.
Default project: CLASS (unless the user specifies otherwise). Default type: Task (unless the user specifies otherwise).
Based on the gathered context, draft:
Present the drafted summary and description to the user clearly, formatted so they can review it. For example:
Summary: Convert sync-cerpt-widget-performance from full-table sync to incremental sync
Description:
The daily sync-cerpt-widget-performance job currently re-syncs the entire table...
Then ask the user to approve or request changes. Wait for explicit approval before creating.
Do NOT use AskUserQuestion for this — just present the draft as text and let the user respond naturally. They may want to iterate.
Once the user approves, create the ticket:
~/.claude/skills/x-create-ticket/scripts/jira-create-ticket CLASS Task "Summary here" "Description here"
Important jira CLI notes (these are baked into the script, but for reference):
-p PROJECT flag is REQUIRED — without it, the CLI hangs waiting for interactive project selection--no-input is REQUIRED to suppress prompts for optional fieldsCLASS-938) on successMove the new ticket out of its default "New" status so it gets picked up during prioritization:
jira issue move <NEW-TICKET> "Ready for Refinement"
If the transition fails (e.g., the status name doesn't match), note the error but continue — the ticket was still created successfully.
After creation:
Run jira-ticket-info on the new ticket to verify it was created correctly:
~/.claude/skills/x-take-ticket/scripts/jira-ticket-info <NEW-TICKET>
Report the result to the user:
Created CLASS-XXX: https://archeredu.atlassian.net/browse/CLASS-XXX
If the user wants to onboard the ticket into tracking systems, suggest:
Run
/x-take-ticket XXXto onboard it.
After reporting the new ticket, STOP. Do not:
/x-take-ticket