project workflow update
project_workflow_updateChange an authorized project's workflow: statuses, labels, sections, and task defaults. Requires workflows:write and a workspace owner or admin. Send changes to remove, rename, add or reorder options or to set defaults, leaving everything else as it is; or send the complete workflow to replace it, keeping the stable IDs of every option to retain. Either way, include the project's current version from get_workspace. An option sent without an id gets one from its name, such as apply-next for Apply next, and the result returns the workflow with its IDs. Options used by tasks, archived ones included, cannot be removed, and used status categories cannot change. Project visibility and team membership are unchanged. Provide a unique requestId and reuse it when retrying this exact action. Item updates require the current version from get_tasks, get_items, or get_workspace. Permissions are enforced for the workspace, project, and account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| changes | No | Targeted changes to the current workflow: options to remove, rename, add or reorder, and new defaults. Everything they don't name stays as it is. | |
| version | Yes | ||
| workflow | No | The complete replacement workflow, in place of changes. Keep the IDs of every option to retain. | |
| requestId | Yes |