Update ticket status and track progress in Product as Code workflow
Updates ticket status and tracks progress in Product as Code workflow.
/plugin marketplace add davepoon/buildwithclaude/plugin install all-commands@buildwithclaudeSpecify status update detailsUpdate ticket status and track progress in Product as Code workflow
Parse Command Arguments
$ARGUMENTS--ticket <ticket-id> or select interactively--status <status>, --assignee <assignee>, --comment <comment>.pac/ directory existsTicket Selection
--epic flag providedLoad Current Ticket State
.pac/tickets/[ticket-id].yamlStatus Transition Validation
backlog → in-progress, cancelledin-progress → review, blocked, backlogreview → done, in-progressblocked → in-progress, cancelleddone → (no transitions, warn if attempting)cancelled → backlog (for resurrection)Update Ticket Status
spec.status fieldmetadata.updated timestampbacklog → in-progress:
in-progress → review:
review → done:
Update Additional Fields
--assignee provided:
metadata.assignee--comment provided:
Task and Criteria Progress
in-progress, prompt to review taskstasks:
- [x] Create authentication service
- [x] Implement login form component
- [ ] Add session management
- [ ] Write unit tests
Update Parent Epic
.pac/epics/[epic-id].yamltickets:
- id: "[ticket-id]"
name: "[ticket-name]"
status: "[new-status]" # Update this
assignee: "[assignee]"
updated: "[timestamp]"
Git Integration
in-progress and no branch exists:
git checkout -b feature/[ticket-id]review:
done:
Generate Status Report
Ticket Status Updated
====================
Ticket: [ticket-id] - [ticket-name]
Epic: [epic-name]
Status: [old-status] → [new-status]
Assignee: [assignee]
Updated: [timestamp]
Progress:
- Tasks: [completed]/[total] ([percentage]%)
- Criteria: [met]/[total]
Next Actions:
- [Suggested next steps based on new status]
Notification Hooks
.pac/hooks/ directory exists:
status-change.sh if presentValidation and Save
--ticket <ticket-id>: Ticket ID to update (or select interactively)--status <status>: New status (backlog/in-progress/review/blocked/done/cancelled)--assignee <assignee>: Update assignee--comment <comment>: Add comment to ticket--epic <epic-id>: Filter tickets by epic (for interactive selection)--force: Force status change even if validation warnings exist/project:pac-update-status --ticket ticket-auth-001 --status in-progress
/project:pac-update-status --ticket ticket-ui-003 --status review --comment "Ready for code review"
/project:pac-update-status # Interactive mode
/project:pac-update-status --epic epic-payment --status done