Analyze new bugs and cards added over a time period and generate grooming meeting agenda
Generates structured grooming meeting agendas from JIRA issues with filtering and story point analysis.
/plugin marketplace add openshift-eng/ai-helpers/plugin install jira@ai-helpers[project-filter] [time-period] [--component component-name] [--label label-name] [--type issue-type] [--status status] [--story-points]jira:grooming
/jira:grooming [project-filter] [time-period] [--component component-name] [--label label-name] [--type issue-type] [--status status] [--story-points]
The jira:grooming command helps teams prepare for backlog grooming meetings. It automatically collects bugs and user stories created within a specified time period OR assigned to a specific sprint, analyzes their priority, complexity, and dependencies, and generates structured grooming meeting agendas.
This command is particularly useful for:
Automated Data Collection – Collect and categorize issues within specified time periods or sprints by type (Bug, Story, Task, Epic), extract key information (priority, components, labels), and identify unassigned or incomplete issues.
Story Point Analysis – When --story-points flag is used, extract and analyze story points for all issues, calculate totals by status, priority, and type, and provide velocity metrics for sprint retrospectives.
Status Filtering – Filter issues by status (e.g., Closed, Done, In Progress, Open) using the --status flag to focus on specific workflow states for sprint reviews or retrospectives.
Intelligent Analysis – Evaluate issue complexity based on historical data, identify related or duplicate issues, analyze business value and technical impact, and detect potential dependencies.
Agenda Generation – Build a structured, actionable meeting outline organized by priority and type, with discussion points, decision recommendations, estimation references, and risk alerts.
The jira:grooming command runs in three main phases:
last-week, 2024-01-01:2024-01-31)"OTA 277")--story-points flag is used:
--story-points flag is used, includes:
Single project weekly review:
/jira:grooming OCPSTRAT last-week
Multiple OpenShift projects:
/jira:grooming "OCPSTRAT,OCPBUGS,HOSTEDCP" last-2-weeks
Filter by component:
/jira:grooming OCPSTRAT last-week --component "Control Plane"
Custom date range:
/jira:grooming OCPBUGS 2024-10-01:2024-10-15
Filter by label:
/jira:grooming OCPSTRAT last-week --label "technical-debt"
Combine component and label filters:
/jira:grooming OCPSTRAT last-week --component "Control Plane" --label "performance"
Query sprint issues with component filter:
/jira:grooming OCPBUGS "OTA 277" --component "Cluster Version Operator"
Filter by issue type:
/jira:grooming OCPSTRAT last-week --type Bug
Filter by multiple issue types:
/jira:grooming OCPSTRAT last-week --type "Bug,Epic"
Combine all filters:
/jira:grooming OCPSTRAT last-week --component "Control Plane" --label "performance" --type Story
Sprint retrospective with closed issues and story points:
/jira:grooming "CORENET" "Sprint 276" --status Closed --story-points
/jira:grooming OCPBUGS last-week --label "performance" --status "NEW"
The command outputs a ready-to-use Markdown document that can be copied into Confluence or shared with your team.
# Backlog Grooming Agenda
**Project**: [project-key] | **Period**: [time-period] | **New Issues**: [count]
## 📊 Summary
## 📊 Story Point Summary (when --story-points is used)
**Total Story Points**: 89
### By Status
- **Closed**: 55 points (61.8%)
- **In Progress**: 21 points (23.6%)
- **Open**: 13 points (14.6%)
### By Type
- **Story**: 55 points
- **Bug**: 21 points
- **Task**: 13 points
### Issues Missing Story Points (3)
- PROJ-1240 - Performance optimization needed
- PROJ-1241 - Update documentation
- PROJ-1242 - Refactor authentication module
## 🚨 Critical Issues ([count])
- **[PROJ-1234]** System crashes on login - *Critical, needs immediate attention*
- **[PROJ-1235]** Performance degradation - *High, assign to team lead*
## 📈 High Priority Stories ([count])
- **[PROJ-1236]** User profile enhancement - *Ready for sprint*
- **[PROJ-1237]** Payment integration - *Needs design review*
## 📝 Needs Clarification ([count])
- **[PROJ-1238]** Missing acceptance criteria
- **[PROJ-1239]** Unclear technical requirements
## 📋 Action Items
- [ ] Assign PROJ-1234 to senior developer (immediate)
- [ ] Schedule design review for PROJ-1237 (this week)
- [ ] Clarify requirements for PROJ-1238,1239 (before next grooming)
- [ ] Add story point estimates to 3 issues
{
"defaultProjects": ["OCPSTRAT", "OCPBUGS"],
"defaultLabels": [],
"priorityMapping": {
"Critical": "🚨 Critical",
"High": "📈 High Priority"
},
"estimationReference": {
"enableHistoricalComparison": true
}
}
$1 – project-filter
JIRA project selector. Supports single or multiple projects (comma-separated).
Examples:
OCPSTRAT"OCPSTRAT,OCPBUGS,HOSTEDCP""OpenShift Virtualization,Red Hat OpenShift Control Planes"$2 – time-period Time range for issue collection OR sprint name. Options:
last-week | last-2-weeks | last-month | YYYY-MM-DD:YYYY-MM-DD"OTA 277")
Default: last-weekBehavior:
--component (optional) Filter by JIRA component (single or comma-separated). Examples:
--component "Networking"--component "Control Plane,Storage"--label (optional) Filter by JIRA labels (single or comma-separated). Examples:
--label "technical-debt"--label "performance,security"--type (optional) Filter by JIRA issue type (single or comma-separated). Examples:
--type Bug--type "Epic,Story"--type "Bug,Task,Feature"Common issue types: Bug, Story, Task, Epic, Feature, Sub-task
--status (optional) Filter by JIRA issue status (single or comma-separated). Examples:
--status Closed--status "POST,ON_QA"--status "In Progress"--story-points (optional) Include story point analysis in the grooming report. When this flag is present:
jira:status-rollup - Status rollup reportsjira:solve - Issue solution generation