Update PingCode Bug Status
pingcode_update_bug_statusUpdate the status of a single bug by its work item identifier or number. Supports optional state protection and comments.
Instructions
按编号或工作项 ID 修改单个缺陷状态。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | true 时只返回计划,不执行 PATCH。 | |
| comment | No | 可选:状态变更成功后追加评论。 | |
| stateId | No | 目标状态 ID;提供后优先于 statusName。 | |
| projectId | No | ||
| identifier | No | 工作项编号,如 PROJ-455。 | |
| statusName | No | 目标状态名称,如 挂起、已验收、打开、进行中。 | |
| workItemId | No | PingCode 工作项内部 ID。 | |
| projectIdentifier | No | ||
| expectedCurrentStatusName | No | 可选:当前状态保护条件,不匹配则拒绝更新。 |