Bulk Update PingCode Work Items
pingcode_bulk_update_work_itemsBatch update work items' priority, assignee, or status by identifiers, with dry-run mode to preview changes and skip items not matching expected current status.
Instructions
用原生批量端点为多个工作项编号批量改优先级/负责人/状态。默认 dryRun=true,支持 expectedCurrentStatusName 跳过不匹配项;每个变更字段各发一次 bulk PATCH。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 工作项类型,默认 bug。 | bug |
| dryRun | No | 默认 true,仅返回计划;传 false 才执行。 | |
| stateId | No | 目标状态 ID;提供后优先于 statusName。 | |
| projectId | No | PingCode 项目 ID,提供后跳过项目标识查询。 | |
| statusName | No | 目标状态名称。 | |
| identifiers | Yes | 要批量更新的工作项编号列表,≤100。 | |
| assigneeName | No | 目标负责人姓名。 | |
| priorityName | No | 目标优先级名称。 | |
| projectIdentifier | No | PingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。 | |
| expectedCurrentStatusName | No | 当前状态保护:不匹配的条目被跳过。 |