Skip to content

Examples

BatraXPankaj edited this page Nov 13, 2025 · 1 revision

Examples and Use Cases

Real-world examples demonstrating Smart Issue Analyzer in action.

Example 1: Bug Report with Auto-Triage

Input Issue

Title: App crashes when uploading large files

Description:
When I try to upload a file larger than 10MB, the app crashes.
This is really frustrating as I need to upload my presentation ASAP!

Workflow Analysis

Duplicate Detection:

{
  "isDuplicate": false,
  "duplicateOf": null,
  "similarIssues": ["#42", "#51"]
}

Classification:

{
  "labels": ["bug", "performance"],
  "priority": "P1",
  "size": "M",
  "type": "bug"
}

Context Analysis:

{
  "sentiment": "negative",
  "missingInfo": ["browser version", "file type", "error message"],
  "assignmentSuggestion": "@backend-team",
  "dependencies": [],
  "isEpic": false
}

Applied Labels

  • bug
  • performance
  • priority-p1
  • size-m
  • needs-attention (negative sentiment)

Analysis Comment Posted

🤖 Comprehensive Auto-Analysis

### 📊 Triage Information
- **Priority:** 🟡 P1 (High)
- **Size Estimate:** M (1-2 days)
- **Type:** bug

### 🏷️ Auto-Applied Labels
bug, performance, priority-p1, size-m, needs-attention

### 👤 Assignment Suggestion
**Recommended:** @backend-team
**Reason:** File upload handling requires backend expertise

### 🔗 Related Issues
This issue is similar to:
- #42 - "File upload timeout"
- #51 - "Large file handling issues"

### ⚠️ Missing Information
To help resolve this faster, please provide:
- Browser version and OS
- File type being uploaded
- Exact error message or console logs
- Does it happen with all file types?

### 🌐 Spanish Translation
**Título:** La aplicación se bloquea al cargar archivos grandes
**Descripción:** Cuando intento cargar un archivo mayor de 10MB, la aplicación se bloquea. Esto es realmente frustrante ya que necesito cargar mi presentación lo antes posible.

Example 2: Feature Request with Epic Detection

Input Issue

Title: Redesign entire user dashboard with analytics, customization, and real-time updates

Description:
We need to completely rebuild the dashboard to include:
- Real-time data updates via WebSocket
- Customizable widget layout
- Advanced analytics charts
- Export to PDF/Excel
- Dark mode support
- Mobile responsive design

Workflow Analysis

Classification:

{
  "labels": ["enhancement", "ui/ux"],
  "priority": "P2",
  "size": "XL",
  "type": "epic"
}

Context Analysis:

{
  "sentiment": "neutral",
  "isEpic": true,
  "suggestedSubIssues": [
    "Implement WebSocket real-time data pipeline",
    "Build drag-and-drop widget customization",
    "Add analytics charting library integration",
    "Create PDF/Excel export functionality",
    "Implement dark mode theme",
    "Make dashboard mobile responsive"
  ],
  "dependencies": []
}

Applied Labels

  • enhancement
  • ui/ux
  • priority-p2
  • size-xl
  • epic

Analysis Comment

### 📦 Epic Detection
This issue appears to be a large initiative. Consider breaking it down into smaller issues:

**Suggested Sub-Issues:**
1. Implement WebSocket real-time data pipeline
2. Build drag-and-drop widget customization
3. Add analytics charting library integration
4. Create PDF/Excel export functionality
5. Implement dark mode theme
6. Make dashboard mobile responsive

**Recommendation:** Create these as separate issues and link them to this epic for better tracking.

Example 3: Duplicate Issue Auto-Close

Input Issue

Title: Login button doesn't work on iPhone

Description:
Can't tap the login button on mobile Safari

Workflow Analysis

Duplicate Detection:

{
  "isDuplicate": true,
  "duplicateOf": "#23",
  "confidence": "high"
}

Action Taken

  1. ✅ Posted comment: "This issue appears to be a duplicate of #23. Closing."
  2. ✅ Changed state to closed
  3. ✅ Added label: duplicate

Timeline

10:30:05 - Issue #45 created
10:30:08 - Workflow triggered
10:30:12 - Analysis completed
10:30:12 - Comment posted
10:30:12 - Issue closed
Total: 7 seconds

Example 4: Security Issue with Priority Escalation

Input Issue

Title: SQL injection vulnerability in search endpoint

Description:
Found that /api/search doesn't sanitize input. Can execute arbitrary SQL.
Proof: ?q='; DROP TABLE users; --

Workflow Analysis

Classification:

{
  "labels": ["security", "bug"],
  "priority": "P0",
  "size": "S",
  "type": "bug"
}

Context Analysis:

{
  "sentiment": "neutral",
  "assignmentSuggestion": "@security-team",
  "dependencies": [],
  "needsAttention": true
}

Applied Labels

  • security
  • bug
  • priority-p0 🔴
  • size-s

Assignment Suggestion

**CRITICAL SECURITY ISSUE**
Recommended immediate assignment: @security-team
Priority: P0 - Address immediately

Example 5: Dependency Detection

Input Issue

Title: Add user profile editing page

Description:
Need a page where users can edit their profile information.
This requires the user API endpoint from #78 to be completed first.

Workflow Analysis

Context Analysis:

{
  "dependencies": {
    "blockedBy": ["#78"],
    "blocks": []
  },
  "assignmentSuggestion": "@frontend-team"
}

Analysis Comment

### 🔗 Dependencies Detected
**Blocked By:**
- #78 - User API endpoint implementation

**Recommendation:** Wait for #78 to be completed before starting work on this issue.

Example 6: Documentation Request

Input Issue

Title: Need API documentation for authentication endpoints

Description:
Please add docs for /api/auth/login and /api/auth/register

Workflow Analysis

Classification:

{
  "labels": ["documentation"],
  "priority": "P2",
  "size": "S",
  "type": "task"
}

Applied Labels

  • documentation
  • priority-p2
  • size-s
  • task

Example 7: Missing Information Prompt

Input Issue

Title: Error when clicking submit

Description:
I get an error

Context Analysis

{
  "missingInfo": [
    "Which page/form?",
    "What is the error message?",
    "Browser and version?",
    "Steps to reproduce?",
    "Expected vs actual behavior?"
  ]
}

Analysis Comment

### ⚠️ Missing Information
This issue needs more details to be actionable. Please provide:

1. **Which page/form** are you referring to?
2. **What is the exact error message?** (screenshot helpful)
3. **Browser and version?** (e.g., Chrome 120, Safari 17)
4. **Steps to reproduce:**
   - Step 1: Go to...
   - Step 2: Click...
   - Step 3: See error
5. **Expected behavior:** What should happen?
6. **Actual behavior:** What actually happens?

Use Case Scenarios

Scenario 1: Open Source Project

Challenge: High volume of duplicate issues
Solution: Auto-detect and close duplicates, saving maintainer time
Result: 30% reduction in issue noise

Scenario 2: Enterprise Development Team

Challenge: Inconsistent issue labeling and prioritization
Solution: Automated classification with standardized labels
Result: Faster triage, better sprint planning

Scenario 3: International Team

Challenge: Non-English speaking contributors
Solution: Spanish translation in every issue
Result: Improved collaboration across regions

Scenario 4: Security-Focused Product

Challenge: Security issues mixed with regular bugs
Solution: Auto-detect and prioritize security labels as P0
Result: Faster security response time

Scenario 5: Large Backlog Management

Challenge: 1000+ issues, hard to find related work
Solution: Historical pattern matching links similar issues
Result: Better context for developers, faster resolution


Performance Benchmarks

Metric Value
Average analysis time 3.2 seconds
Duplicate detection accuracy 94%
Label precision 89%
Priority accuracy 91%
Size estimation variance ±1 size category
Workflow success rate 99.7%

Next Steps

Clone this wiki locally