Preview or apply work package updates
bulk_update_work_packagesPreview or apply up to 50 work-package updates, each with its own changes.
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. 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.
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 |