获取产品Bug列表 分享链接

作者:王怡栋 最后编辑:宋辰轩 于 2024-02-21 15:03:09 浏览量:12381
GET
/products/:id/bugs

获取产品Bug列表

请求头

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

请求响应

名称类型必填描述
pageint当前页数
totalintBug总数
limitint每页Bug数
bugsarrayBug列表
  ∟  idintBug ID
  ∟  productint所属产品
  ∟  branchint所属分支
  ∟  moduleint所属模块
  ∟  projectint所属项目
  ∟  executionint所属执行
  ∟  toTaskint转为任务
  ∟  toStoryint转为需求
  ∟  titlestringBug标题
  ∟  keywordsstring关键字
  ∟  severityint严重程度
  ∟  priint优先级
  ∟  typestringBug类型(codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation |测试脚本 | designdefect 设计缺陷 | others 其他)
  ∟  osstring操作系统
  ∟  browserstring浏览器
  ∟  stepsstring重现步骤
  ∟  taskint相关任务
  ∟  storyint相关需求
  ∟  openedBy创建人
  ∟  openedDatedatetime创建时间
  ∟  deadlinedate截止日期
  ∟  assignedTo指派给
  ∟  assignedDatedatetime指派时间
  ∟  resolvedBy由谁解决
  ∟  resolvedDatedatetime解决时间
  ∟  resolvedBuildstring解决版本
  ∟  closedBy由谁关闭
  ∟  closedDatedatetime关闭时间

响应示例

{
    "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
        }
    ]
}