Ticket System
The ticket system tracks work across Jetta infrastructure. It supports hierarchical work breakdown with epics containing issues, and links work to services for unified tracking.
Ticket Types
| Type | Purpose | Example |
|---|---|---|
| epic | Large initiative with multiple issues | "User Authentication System" |
| issue | Discrete deliverable under an epic | "Implement login endpoint" |
| bug | Defect requiring fix | "Login fails on mobile browsers" |
| spike | Research/investigation task | "Evaluate OAuth providers" |
| task | Small standalone work item | "Update README" |
Hierarchy
Epic (optional)
├── Issue
├── Issue
├── Bug
└── Spike
Epics are optional. Issues can exist standalone, but linking to an epic provides better organization for larger efforts.
Ticket Status
Tickets progress through these statuses:
backlog → ready → in_progress → review → done
↘ cancelled
| Status | Meaning |
|---|---|
backlog | Captured but not prioritized |
ready | Prioritized and ready to start |
in_progress | Actively being worked on |
review | Work complete, needs verification |
done | Completed |
cancelled | Won't be done |
Priority Levels
| Priority | When to Use |
|---|---|
low | Nice to have, no urgency |
normal | Standard work (default) |
high | Important, should be done soon |
critical | Urgent, blocking other work |
Creating Tickets
{
"ticket_type": "epic",
"title": "User Authentication System",
"description": "Implement full auth flow including login, logout, and session management",
"priority": "high",
"service_id": "jetta-sso",
"tags": ["authentication", "security"]
}
Create an issue under an epic:
{
"ticket_type": "issue",
"title": "Implement login endpoint",
"description": "POST /api/auth/login accepting email/password",
"parent_id": "486d1c2f-3400-4821-a4c4-85dd795d1106",
"priority": "high"
}
Common Workflows
Starting Work on a Feature
- Check for existing epic or create one
- Break down into issues with
parent_id - Claim an issue with
ticket_claim - Document progress with devlogs as you work
- Complete when done with
ticket_complete
Bug Triage
- Create bug ticket with steps to reproduce
- Investigate and update with findings
- Claim, fix, complete
Research Spike
- Create spike with question and success criteria
- Document findings in description or linked devlog
- Complete with conclusions
Best Practices
Good Titles
- "Implement OAuth2 login flow"
- "Fix memory leak in connection pool"
Effective Descriptions
Include:
- Context: Why this work matters
- Scope: What's included and excluded
- Acceptance criteria: How to know it's done
- Technical notes: Implementation hints
Linking to Services
Always set service_id when the work relates to a specific service. This enables filtering and service-centric views of all work.