createTask
Creates a new task in this beta project and appends it to the end of the task list. A task is a container for the steps the testers work through; add those with createStep. The response's ready is false until the task has at least one step: that is expected right after creation, not an error, and nothing to tell the user about; just continue with createStep. Creating always appends, so create tasks in the order testers should meet them, or place them afterwards with updateTasksOrder. On a draft or scheduled beta project the change is applied immediately. On a running or paused beta project the change is STAGED: testers do not see it until commitTaskChanges publishes all staged changes (revertTaskChanges discards them; getBetaTasks with version 'unpublished' shows the staged state). While staging, these tools accept BOTH the live id and the staged id of a task or step, but always respond with the STAGED row — expect ids you did not pass in, with liveVersionId linking back to the live row. Content of finished or archived beta projects cannot be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The task name (1 to 128 characters). | |
| optional | No | Whether testers may skip this task: they get a Skip control and a skipped task counts as done. Defaults to false. Only tasks of Stomio-placement beta projects can be optional, and a task cannot be both optional and scheduled with availableDate: the two are mutually exclusive. | |
| productId | Yes | ID of the beta project to query. Get valid IDs from the listProducts tool. | |
| description | No | What the testers should do in this task (up to 512 characters of text; basic HTML is allowed). | |
| availableDate | No | ISO 8601 date-time before which the task shows as locked and testers cannot start it. Omit for available immediately; null (updateTask) clears an existing date. A date past the beta end date is accepted here but blocks publishBeta and commitTaskChanges until fixed. Mutually exclusive with optional: a task can be optional or scheduled, not both. |