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
Rejection workflow: rejected tickets should go directly to "todo" not "in_progress"
Edit
Rejection workflow: rejected tickets should go directly to "todo" not "in_progress"
Cancel
Save
Title
*
Project
*
Choose an option
alpha
tinker
Create new project
Description
**Current behavior:** When a ticket is rejected from `pending_approval` or `review`, it first goes to `in_progress`, then requires a second reject to get to `todo`. ```ruby event :reject do transitions from: [ :review, :pending_approval ], to: :in_progress transitions from: :in_progress, to: :todo end ``` **Desired behavior:** Rejected tickets should go directly to `todo` from `pending_approval` and `review` states. The extra hop through `in_progress` is unnecessary - tickets that were already submitted for review/approval should return to the ready queue, not to "actively being worked on". **Change needed:** Modify the `reject` event transitions in `app/models/ticket.rb`: ```ruby event :reject do transitions from: [ :review, :pending_approval ], to: :todo # was: :in_progress transitions from: :in_progress, to: :todo end ```
Avo
· © 2025 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel