weeek_create_task
Create a task in Weeek by providing a project ID and optional details like board column, priority, assignee, parent task, or custom fields.
Instructions
Create a task. Requires a project_id (and normally a board_column_id, which you get from weeek_list_board_columns). Dates are set separately via weeek_update_task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Y-m-d | |
| type | No | ||
| title | Yes | ||
| user_id | No | Assignee id | |
| priority | No | Priority as a number or a label: 0 low (Низкий), 1 medium (Средний), 2 high (Высокий), 3 hold (Замороженный). | |
| parent_id | No | Parent task id for a subtask | |
| project_id | Yes | ||
| description | No | Task description as HTML, which is what Weeek's create endpoint stores. weeek_update_task takes Markdown instead, because it writes through the editor rather than REST. | |
| custom_fields | No | Custom field values keyed by field id (names only work on an existing task, via weeek_update_task) — get the ids from weeek_list_custom_fields. For a select field pass the option id. A field that does not belong to this project is reported as an error. | |
| board_column_id | No | Target column; null puts the task in the board default. |