需求管理 CODEARTS REQ-获取统计面板数据:响应示例

时间:2025-01-06 14:15:47

响应示例

状态码: 200

统计成功响应

{
  "status" : "success",
  "message" : null,
  "result" : [ {
    "category" : "RR",
    "total" : 0,
    "processing" : 0,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "原始需求"
  }, {
    "category" : "SF",
    "total" : 2,
    "processing" : 1,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "系统特性"
  }, {
    "category" : "IR",
    "total" : 2,
    "processing" : 1,
    "completed" : 0,
    "expired" : 1,
    "category_name" : "初始需求"
  }, {
    "category" : "SR",
    "total" : 1,
    "processing" : 0,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "系统需求"
  }, {
    "category" : "AR",
    "total" : 1,
    "processing" : 0,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "分配需求"
  }, {
    "category" : "Task",
    "total" : 1,
    "processing" : 0,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "任务"
  }, {
    "category" : "Bug",
    "total" : 5,
    "processing" : 0,
    "completed" : 0,
    "expired" : 0,
    "category_name" : "缺陷"
  } ]
}

状态码: 400

统失败响应

{
  "error_code" : "PM.02175302",
  "error_msg" : "服务繁忙:ISSUE_SERVICE"
}
support.huaweicloud.com/api-projectman/ShowIpdStatisticDashboard.html