Skip to content

Commit c08e523

Browse files
committed
Add jira:refine command for enhancing partially defined issues
Introduce new /jira:refine subcommand that intelligently enhances incomplete or under-specified JIRA stories, tasks, and bugs by adding missing critical information while preserving existing good content. Key capabilities: - Analyzes issue quality (description, acceptance criteria, fields) - Adds user story format for stories (As a... I want... So that...) - Generates testable acceptance criteria based on context - Sets missing fields (priority, component, story points, epic links) - Provides interactive refinement workflow with preview - Preserves existing content - enhancement, not replacement This complements the jira:create command by helping teams improve backlog quality during grooming sessions and convert stub tickets from automation into actionable work items. Files added: - plugins/jira/commands/refine.md - plugins/jira/skills/refine-issue/SKILL.md 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent f0c4eb7 commit c08e523

4 files changed

Lines changed: 1323 additions & 0 deletions

File tree

PLUGINS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ A plugin to automate tasks with Jira
164164
- **`/jira:generate-feature-doc` `<feature-key>`** - Generate comprehensive feature documentation from Jira feature and all related issues and PRs
165165
- **`/jira:generate-test-plan` `[JIRA issue key] [GitHub PR URLs]`** - Generate test steps for a JIRA issue
166166
- **`/jira:grooming` `[project-filter] [time-period] [--component component-name] [--label label-name] [--type issue-type] [--status status] [--story-points]`** - Analyze new bugs and cards added over a time period and generate grooming meeting agenda
167+
- **`/jira:refine` `<issue-key> [<issue-key>...]`** - Refine partially defined JIRA issues with complete descriptions and acceptance criteria
167168
- **`/jira:solve`** - Analyze a JIRA issue and create a pull request to solve it.
168169
- **`/jira:status-rollup` `issue-id [--start-date YYYY-MM-DD] [--end-date YYYY-MM-DD]`** - Generate a status rollup comment for any JIRA issue based on all child issues and a given date range
169170
- **`/jira:validate-blockers` `[target-version] [component-filter] [--bug issue-key]`** - Validate proposed release blockers using Red Hat OpenShift release blocker criteria

docs/data.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@
132132
"name": "grooming",
133133
"synopsis": "/jira:grooming [project-filter] [time-period] [--component component-name] [--label label-name] [--type issue-type] [--status status] [--story-points]"
134134
},
135+
{
136+
"argument_hint": "<issue-key> [<issue-key>...]",
137+
"description": "Refine partially defined JIRA issues with complete descriptions and acceptance criteria",
138+
"name": "refine",
139+
"synopsis": "bash"
140+
},
135141
{
136142
"argument_hint": "",
137143
"description": "Analyze a JIRA issue and create a pull request to solve it.",
@@ -225,6 +231,11 @@
225231
"description": "Jira conventions and bug templates for the OCPBUGS project",
226232
"id": "ocpbugs",
227233
"name": "OCPBUGS Jira Conventions"
234+
},
235+
{
236+
"description": "Implementation guide for refining partially defined stories, tasks, and bugs with complete descriptions and acceptance criteria",
237+
"id": "refine-issue",
238+
"name": "Refine Jira Issue"
228239
}
229240
],
230241
"version": "0.0.1"

0 commit comments

Comments
 (0)