Bug

获取产品Bug列表 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2024-09-30 15:12:49 浏览量:17626
GET
/products/id/bugs

获取产品Bug列表

请求URL

https://xxx.com/api.php/v1/products/id/bugs

请求头

名称 类型 必填 描述
Token String 认证凭证Token

请求响应

名称 类型 必填 描述
page int 当前页数
total int Bug总数
limit int 每页Bug数
bugs array Bug列表
  ∟  id int Bug ID
  ∟  product int 所属产品
  ∟  branch int 所属分支
  ∟  module int 所属模块
  ∟  project int 所属项目
  ∟  execution int 所属执行
  ∟  toTask int 转为任务
  ∟  toStory int 转为需求
  ∟  title string Bug标题
  ∟  keywords string 关键字
  ∟  severity int 严重程度
  ∟  pri int 优先级
  ∟  type string Bug类型(codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation |测试脚本 | designdefect 设计缺陷 | others 其他)
  ∟  os string 操作系统
  ∟  browser string 浏览器
  ∟  steps string 重现步骤
  ∟  task int 相关任务
  ∟  story int 相关需求
  ∟  openedBy 创建人
  ∟  openedDate datetime 创建时间
  ∟  deadline date 截止日期
  ∟  assignedTo 指派给
  ∟  assignedDate datetime 指派时间
  ∟  resolvedBy 由谁解决
  ∟  resolvedDate datetime 解决时间
  ∟  resolvedBuild string 解决版本
  ∟  closedBy 由谁关闭
  ∟  closedDate datetime 关闭时间

响应示例

{
    "page": 1,
    "total": 1,
    "limit": 20,
    "bugs": [
        {
            "id": 9,
            "project": 0,
            "product": 4,
            "branch": 0,
            "module": 0,
            "execution": 0,
            "plan": 0,
            "story": 0,
            "storyVersion": 1,
            "task": 0,
            "toTask": 0,
            "toStory": 0,
            "title": "Bug3",
            "keywords": "",
            "severity": 3,
            "pri": 0,
            "type": "",
            "os": "",
            "browser": "",
            "hardware": "",
            "found": "",
            "steps": "",
            "status": {
                "code": "active",
                "name": "激活"
            },
            "subStatus": "",
            "color": "",
            "confirmed": 0,
            "activatedCount": 0,
            "activatedDate": "1969-12-31T16:00:00Z",
            "feedbackBy": "",
            "notifyEmail": "",
            "mailto": null,
            "openedBy": {
                "id": 1,
                "account": "admin",
                "avatar": "",
                "realname": "管理员"
            },
            "openedDate": "2021-12-01T01:25:42Z",
            "openedBuild": "主干",
            "assignedTo": null,
            "assignedDate": "1969-12-31T16:00:00Z",
            "deadline": "1970-01-01",
            "resolvedBy": null,
            "resolution": "",
            "resolvedBuild": "",
            "resolvedDate": "1969-12-31T16:00:00Z",
            "closedBy": null,
            "closedDate": "1969-12-31T16:00:00Z",
            "duplicateBug": 0,
            "linkBug": "",
            "case": 0,
            "caseVersion": 1,
            "result": 0,
            "repo": 0,
            "entry": "",
            "lines": "",
            "v1": "",
            "v2": "",
            "repoType": "",
            "testtask": 0,
            "lastEditedBy": null,
            "lastEditedDate": "1969-12-31T16:00:00Z",
            "deleted": false,
            "needconfirm": false
        }
    ]
}
返回顶部
丁芝
高级客户经理
17663906485
1481227768
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。