Bug

获取Bug详情

作者:王怡栋最后编辑:宋辰轩 于 2024-09-30 15:13:45 浏览量:24521 分享链接/book/api/722.html
GET
/bugs/id

获取Bug详情

请求URL

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

请求头

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

请求响应

名称 类型 必填 描述
id int 是 Bug ID
product int 是 所属产品
branch int 是 所属分支
module int 是 所属模块
project int 是 所属项目
execution int 是 所属执行
toTask boolean 否 转为任务
toStory boolean 否 转为需求
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 string 是 创建人
openedDate datetime 是 创建时间
deadline date 否 截止日期
assignedTo 否 指派给
assgnedDate datetime 否 指派时间
resolvedBy 否 由谁解决
resolvedDate datetime 否 解决时间
resolvedBuild string 否 解决版本
closedBy 否 由谁关闭
closedDate datetime 否 关闭时间
status string 是 状态(active 激活 | resolved 已解决 | closed 已关闭)

响应示例

{
    "id": 1,
    "project": 7,
    "product": 1,
    "branch": 0,
    "module": 0,
    "execution": 1,
    "plan": 0,
    "story": 1,
    "storyVersion": 1,
    "task": 1,
    "toTask": 0,
    "toStory": 0,
    "title": "aaa",
    "keywords": "",
    "severity": 3,
    "pri": 1,
    "type": "codeerror",
    "os": "",
    "browser": "",
    "hardware": "",
    "found": "",
    "steps": "<p>[步骤]进入首页</p>\r\n<p>[结果]出现乱码&nbsp;&nbsp;&nbsp;&nbsp;</p>\r\n<p>[期望]正常显示</p>",
    "status": "active",
    "subStatus": "",
    "color": "",
    "confirmed": 0,
    "activatedCount": 0,
    "activatedDate": "1969-12-31T16:00:00Z",
    "feedbackBy": "",
    "notifyEmail": "",
    "mailto": [],
    "openedBy": {
        "id": 7,
        "account": "tester1",
        "avatar": "",
        "realname": "测试甲"
    },
    "openedDate": "2012-06-05T02:56:11Z",
    "openedBuild": "trunk",
    "assignedTo": {
        "id": 4,
        "account": "dev1",
        "avatar": "",
        "realname": "开发甲"
    },
    "assignedDate": "1969-12-31T16:00:00Z",
    "deadline": null,
    "resolvedBy": null,
    "resolution": "",
    "resolvedBuild": "",
    "resolvedDate": null,
    "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": {
        "id": 1,
        "account": "admin",
        "avatar": "",
        "realname": "管理员"
    },
    "lastEditedDate": "2021-12-05T14:53:35Z",
    "deleted": false,
    "executionName": "企业网站第一期",
    "storyTitle": "首页设计和开发",
    "storyStatus": "active",
    "latestStoryVersion": 2,
    "taskName": null,
    "planName": null,
    "projectName": "企业管理系统",
    "toCases": [],
    "files": []
}
返回顶部
客服头像
刘斌
高级客户经理
客服微信
17685869372
526288068
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。问题反馈反馈点击这里,让我们聆听您的建议与反馈。
gtm跟踪器
gtag
UET