bulk_create_tasks
Create multiple tasks for a project in one atomic request, preserving order and validating every entry so invalid batches fail without creating any tasks.
Instructions
Create several tasks in one project, in one request. Needs the v2 API.
Vikunja creates the batch atomically: if one entry is invalid then none are
created, and the error names the entry that failed. The tasks also keep the
order they were given. A loop of create_task calls races: a numbered plan can
come back shuffled, and a failure halfway through leaves the rest uncreated.
Each entry is an object taking the same fields as create_task. title is
required; description, priority, due_date, start_date, end_date,
percent_done, is_favorite, repeat_after, and repeat_mode are optional
and mean what they do there, including an empty string to clear a date.
Anything else is refused. A dropped key would read as a task created with a
date or a priority it never got. Vikunja caps a batch at 100.
Returns a summary per created task, in creation order. Call get_task for the
full detail of one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |