Tinker
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Home
Epics
Allow cancel and approve transitions from any ticket state
Edit
Allow cancel and approve transitions from any ticket state
Cancel
Save
Title
*
Project
*
Choose an option
alpha
tinker
Create new project
Description
## Problem Currently `cancel` and `approve` transitions are only available from specific states. This prevents Product Owners from directly cancelling or approving tickets regardless of their current status. ## States Affected Current limitations: - `cancel` not available from: `pending_approval`, `done`, etc. - `approve` only available from: `pending_approval` A PO should be able to: - Cancel any ticket from any state (e.g., stale tickets stuck in workflow) - Approve any ticket from any state (e.g., fast-track approved work) ## Solution Update the ticket state machine to allow `cancel` and `approve` transitions from **all** states. These are PO override commands and should bypass normal workflow constraints. ## Files to Modify - `app/models/ticket.rb` - Update state machine transitions - Add tests for new global transitions ## Acceptance Criteria - `cancel` transition available from all ticket states - `approve` transition available from all ticket states - Tests added for global cancel/approve - No breaking changes to existing workflow
Avo
· © 2026 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel