Preview or apply work package updates
bulk_update_work_packagesPreview or apply up to 50 work-package updates with per-item changes; validate all before applying and report each result.
Instructions
Preview or apply up to 50 work-package updates, each with its own changes.
First call with dry_run=true (default). Review each before/after diff and validation error, then submit the same updates with dry_run=false and each preview's lock_version. Omitted fields remain untouched; null clears clearable fields; target_versions=[] clears version assignments. Status/type/priority accept names or ids, as in update_work_package.
All items are validated before any update. If any preflight fails, nothing is applied; correct those items or submit a valid subset. Execution is sequential and NOT atomic: concurrent edits can still conflict after validation. Each item reports its result; partial_failure is true when some apply and others fail. Item notes flag values OpenProject will ignore or ignored, such as story_points without Backlogs. An unknown outcome means a connection/server failure may have happened after committing: re-read that item before retrying. Writes are never automatically retried or rolled back. Never rerun successful items. Notifications use the same notify flag for the whole batch.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"updates": "<updates>"
},
"name": "bulk_update_work_packages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notify | No | Send notification emails when applying updates. | |
| dry_run | No | Defaults to preview: validate and show changes without PATCH. | |
| updates | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| notes | Yes | ||
| total | Yes | ||
| applied | Yes | ||
| dry_run | Yes | ||
| partial_failure | Yes |