Triage PingCode Work Item
pingcode_triage_work_itemMerge assignee, priority, and status updates for a PingCode work item into one PATCH request, optionally adding a comment. Preview with dry-run mode before execution.
Instructions
一站式处理工作项:合并负责人/优先级/状态变更为一次 PATCH,并可选追加评论。默认 dryRun=true。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 工作项类型,默认 bug。 | bug |
| dryRun | No | 默认 true,仅返回合并计划;传 false 才执行写入。 | |
| comment | No | 可选:处理后追加的评论。 | |
| stateId | No | 目标状态 ID;提供后优先于 statusName。 | |
| projectId | No | PingCode 项目 ID,提供后跳过项目标识查询。 | |
| identifier | No | 工作项编号,如 PROJ-455。 | |
| statusName | No | 目标状态名称。 | |
| workItemId | No | PingCode 工作项内部 ID,提供后优先于 identifier。 | |
| assigneeName | No | 新负责人姓名。 | |
| priorityName | No | 新优先级名称。 | |
| projectIdentifier | No | PingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。 | |
| expectedCurrentStatusName | No | 当前状态保护条件;不匹配则整单拒绝,不部分执行。 |