task_action
Moves a task or bug through its lifecycle (shared team data); only the task's allowedTransitions are accepted: work (start), pause, wait (back to waiting), publish (publish a draft), accept / decline (approve or send back at approval or review), reject (send back from testing), done (submit the work), reopen (reopen a closed task for the token owner in the current iteration). done leads to review if reviewAssignee is set, else for dev and bug tasks to deployment when the product has it enabled (isDeployEnabled) or to testing when testAssignee is set; otherwise the task closes and only reopen returns it. result is not written here; the done response includes feature.plan (plan vs. actual).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ID | No | Task ID; preferred over key. | |
| key | No | Task number, if the ID is unknown. | |
| comment | No | Comment posted to the task chat, in the language of the workspace data; required for decline and reject (what needs fixing). | |
| transition | Yes | One of the task's allowedTransitions. |