EasyTopic: transition topic status
easytopic_transition_statusMove a topic to a new status through its workflow transition, applying the same pre-checks as the human interface. Returns specific error codes for missing requirements or conflicts.
Instructions
Moves a Topic to a new status via the matching Workflow transition (runs the same beforeChecks the human UI runs, e.g. requiredFieldsFilled). Errors use the same vocabulary as the app: a WorkflowCheckId (assigneeRequired/dueDateRequired/descriptionRequired/requiredFieldsFilled), notProjectAdmin, hasActiveConflict, or noMatchingTransition. Status lifecycle convention (created -> todo -> planning -> planned -> approved -> in_progress -> done -> closed): you may set planning/planned yourself once you start/finish planning, and in_progress/done yourself once you start/finish the work. Never set the approved status yourself unless the human has given explicit approval via a Topic comment or directly in conversation — otherwise wait for them to set it. Never set the closed status yourself under any circumstance — that is the human's exclusive final sign-off after verifying the work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | ||
| topicId | Yes | ||
| toStatusKey | Yes |