List PingCode Work Item Relations
pingcode_list_work_item_relationsList all relationships of a PingCode work item, filtered by relation type, returning relation IDs and associated target work items.
Instructions
按编号或工作项 ID 列出工作项的全部关系(可按 relationType 过滤),返回每条关系的 id 与目标工作项。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | 工作项类型,默认 bug。 | bug |
| projectId | No | PingCode 项目 ID,提供后跳过项目标识查询。 | |
| identifier | No | 工作项编号,如 PROJ-455。 | |
| workItemId | No | PingCode 工作项内部 ID,提供后优先于 identifier。 | |
| relationType | No | 按关系类型过滤(系统枚举或自定义关系类型名/ID)。 | |
| projectIdentifier | No | PingCode 项目标识,默认读取 PINGCODE_PROJECT_IDENTIFIER。 |