# 说明
批量查询计划关联缺陷统计数
# url
https://api.tapd.cn/api/testx/plan/v1/namespaces/{namespace}/plans/bug-statistics
# 支持格式
JSON
# HTTP请求方式
POST
# 请求参数
# Request
字段名 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
PlanUids | 是 | repeated string | 计划ID列表(不能为空) |
Namespace | 是 | string | 命名空间 |
# pageinfo
字段名 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
Offset | 是 | uint32 | 分页偏移位置 |
Limit | 是 | uint32 | 每页数量 |
返回结果
{
"Error": null,
"Data": [
{
"PlanUid": "plan_uid",
"BugCount": 0
}
]
}
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# bug统计字段说明
# PlanBugStatistics
字段名 | 必选 | 类型及范围 | 说明 |
---|---|---|---|
PlanUid | 是 | string | 所属计划ID |
BugCount | 是 | uint32 | 缺陷总数 |