# 说明
返回缺陷所有字段及候选值(枚举值),即通常理解的字段的 "英文Key" 和 "中文值".
# url
https://api.tapd.cn/bugs/get_fields_info
# 支持格式
JSON/XML(默认JSON格式)
# HTTP请求方式
GET
# 请求数限制
默认返回所有数据
# 请求参数
字段名 | 必选 | 类型及范围 | 说明 | 特殊规则 |
---|---|---|---|---|
workspace_id | 是 | integer | 项目ID | |
all_options | 否 | integer | 是否也返回已关闭的选项。all_options=1 则返回。默认是 0,不返回,与TAPD界面对齐 |
# 调用示例及返回结果
# 获取项目下的缺陷字段
# curl 使用 Basic Auth 鉴权调用示例
curl -u 'api_user:api_password' 'https://api.tapd.cn/bugs/get_fields_info?workspace_id=10104801'
# 返回结果
{
"status": 1,
"data": {
"id": {
"name": "id",
"label": "ID",
"options": [],
"pure_options": [],
"html_type": "input",
"memo": ""
},
"title": {
"name": "title",
"label": "标题",
"options": [],
"pure_options": [],
"html_type": "input",
"memo": ""
},
"description": {
"name": "description",
"label": "详细描述",
"options": [],
"pure_options": [],
"html_type": "rich_edit",
"memo": ""
},
"module": {
"name": "module",
"label": "模块",
"options": {
"333": "333",
"创建模块": "创建模块"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"feature": {
"name": "feature",
"label": "特性",
"options": {
"tx1": "tx1"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"reporter": {
"name": "reporter",
"label": "创建人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"deadline": {
"name": "deadline",
"label": "解决期限",
"options": [],
"pure_options": [],
"html_type": "dateinput",
"memo": ""
},
"created": {
"name": "created",
"label": "创建时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"reopen_time": {
"name": "reopen_time",
"label": "重新打开时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"closed": {
"name": "closed",
"label": "关闭时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"modified": {
"name": "modified",
"label": "最后修改时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"lastmodify": {
"name": "lastmodify",
"label": "最后修改人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"de": {
"name": "de",
"label": "开发人员",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"te": {
"name": "te",
"label": "测试人员",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"auditer": {
"name": "auditer",
"label": "审核人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"confirmer": {
"name": "confirmer",
"label": "验证人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"current_owner": {
"name": "current_owner",
"label": "处理人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"status": {
"name": "status",
"label": "状态",
"options": {
"new": "新",
"in_progress": "接受/处理",
"assigned": "已分配",
"verified": "已验证",
"postponed": "延期",
"reopened": "重新打开",
"resolved": "已解决",
"rejected": "已拒绝",
"closed": "已关闭x",
"unconfirmed": "待确认的",
"planning": "计划中",
"feedback": "需要再次说明",
"acknowledged": "已了解",
"suspended": "挂起",
"TM_audited": "TM审核",
"PMM_audited": "PMM审核",
"PM_audited": "PM审核",
"QA_audited": "QA审核"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"resolution": {
"name": "resolution",
"label": "解决方法",
"options": {
"ignore": "无需解决",
"fixed": "已修改",
"fix later": "延期解决",
"failed to recur": "无法重现",
"external reason": "外部原因",
"duplicated": "重复",
"intentional design": "设计如此",
"unclear description ": "问题描述不准确",
"feature change": "需求变更",
"transferred to story": "已转需求",
"hold": "挂起"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"priority": {
"name": "priority",
"label": "优先级",
"color_options": [
{
"value": "urgent",
"label": "紧急",
"color": "#FF6770"
},
{
"value": "high",
"label": "高",
"color": "#FF6770"
},
{
"value": "medium",
"label": "中",
"color": "#28AB80"
},
{
"value": "low",
"label": "低",
"color": "#7C8597"
},
{
"value": "insignificant",
"label": "无关紧要",
"color": "#7C8597"
}
],
"pure_options": [],
"html_type": "select",
"memo": "",
"options": {
"urgent": "紧急",
"high": "高",
"medium": "中",
"low": "低",
"insignificant": "无关紧要"
}
},
"severity": {
"name": "severity",
"label": "严重程度",
"options": {
"fatal": "致命",
"serious": "严重",
"normal": "一般",
"prompt": "提示",
"advice": "建议"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"platform": {
"name": "platform",
"label": "软件平台",
"options": {
"PC": "PC",
"其他": "其他"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"os": {
"name": "os",
"label": "操作系统",
"options": {
"All": "All",
"Windows XP": "Windows XP",
"Windows 2000": "Windows 2000",
"Windows NT": "Windows NT",
"Linux": "Linux",
"Unix": "Unix"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"testmode": {
"name": "testmode",
"label": "测试方式",
"options": {
"手工测试": "手工测试",
"自动化测试": "自动化测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"testtype": {
"name": "testtype",
"label": "测试类型",
"options": {
"功能测试": "功能测试",
"性能测试": "性能测试",
"界面测试": "界面测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"testphase": {
"name": "testphase",
"label": "测试阶段",
"options": {
"单元测试": "单元测试",
"集成测试": "集成测试",
"系统测试": "系统测试",
"运营测试": "运营测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"source": {
"name": "source",
"label": "缺陷根源",
"options": {
"需求": "需求",
"设计": "设计",
"编码": "编码",
"其它": "其它"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"frequency": {
"name": "frequency",
"label": "重现规律",
"options": {
"可重现": "可重现",
"随机重现": "随机重现",
"不可重现": "不可重现"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"cc": {
"name": "cc",
"label": "抄送人",
"options": [],
"pure_options": [],
"html_type": "mix_chooser",
"memo": ""
},
"fixer": {
"name": "fixer",
"label": "修复人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"closer": {
"name": "closer",
"label": "关闭人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"participator": {
"name": "participator",
"label": "参与人",
"options": [],
"pure_options": [],
"html_type": "user_chooser",
"memo": ""
},
"version_report": {
"name": "version_report",
"label": "发现版本",
"options": {
"ver1.1": "ver1.1",
"[v1.16.1]计费下单支付-支持渠道物品信息反查": "[v1.16.1]计费下单支付-支持渠道物品信息反查",
"测试": "测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"version_test": {
"name": "version_test",
"label": "验证版本",
"options": {
"ver1.1": "ver1.1",
"[v1.16.1]计费下单支付-支持渠道物品信息反查": "[v1.16.1]计费下单支付-支持渠道物品信息反查",
"测试": "测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"version_fix": {
"name": "version_fix",
"label": "合入版本",
"options": {
"ver1.1": "ver1.1",
"[v1.16.1]计费下单支付-支持渠道物品信息反查": "[v1.16.1]计费下单支付-支持渠道物品信息反查",
"测试": "测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"version_close": {
"name": "version_close",
"label": "关闭版本",
"options": {
"ver1.1": "ver1.1",
"[v1.16.1]计费下单支付-支持渠道物品信息反查": "[v1.16.1]计费下单支付-支持渠道物品信息反查",
"测试": "测试"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"baseline_find": {
"name": "baseline_find",
"label": "发现基线",
"options": [],
"pure_options": [],
"html_type": "select",
"memo": ""
},
"baseline_join": {
"name": "baseline_join",
"label": "合入基线",
"options": [],
"pure_options": [],
"html_type": "select",
"memo": ""
},
"baseline_close": {
"name": "baseline_close",
"label": "关闭基线",
"options": [],
"pure_options": [],
"html_type": "select",
"memo": ""
},
"baseline_test": {
"name": "baseline_test",
"label": "验证基线",
"options": [],
"pure_options": [],
"html_type": "select",
"memo": ""
},
"originphase": {
"name": "originphase",
"label": "发现阶段",
"options": {
"需求阶段": "需求阶段",
"架构阶段": "架构阶段",
"设计阶段": "设计阶段",
"编码阶段": "编码阶段",
"测试阶段": "测试阶段",
"上线阶段": "上线阶段"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"sourcephase": {
"name": "sourcephase",
"label": "引入阶段",
"options": {
"需求阶段": "需求阶段",
"架构阶段": "架构阶段",
"设计阶段": "设计阶段",
"编码阶段": "编码阶段",
"测试阶段": "测试阶段",
"集成阶段": "集成阶段"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"bugtype": {
"name": "bugtype",
"label": "缺陷类型",
"options": {
"SQL注入": "SQL注入",
"XSS": "XSS",
"CSRF": "CSRF",
"访问控制": "访问控制",
"权限控制": "权限控制",
"其它": "其它"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"reject_time": {
"name": "reject_time",
"label": "拒绝时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"in_progress_time": {
"name": "in_progress_time",
"label": "接受处理时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"resolved": {
"name": "resolved",
"label": "解决时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"verify_time": {
"name": "verify_time",
"label": "验证时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"assigned_time": {
"name": "assigned_time",
"label": "分配时间",
"options": [],
"pure_options": [],
"html_type": "datetime",
"memo": ""
},
"iteration_id": {
"name": "iteration_id",
"label": "迭代",
"options": {
"1010104801001787437": "测试自定义字段",
"1010104801001662155": "fromAPI",
"1010104801001641399": "create by api",
"1010104801001641397": "页面新迭代",
"1010104801001595935": "锁定的迭代",
"1010104801001179909": "aaaassssss",
"1020419374001202991": "adra",
"1010104801001179887": "cjdd",
"1010104801001103985": "对对对",
"1010104801001112221": "myI",
"1010104801001080913": "【Word】191001常规发布",
"1010104801001171067": "oyctest20190911xxx1111",
"1010104801001169803": "oyctest20190911xxx1111",
"1010104801001105965": "oyctest20190911xxx1111",
"1010104801001105193": "oyctest20190911xxx1111",
"1010104801001082017": "日常发布",
"1010104801001082013": "日常发布",
"1010104801001081899": "oyctest20190917ABC2",
"1010104801001080783": "日常发布",
"1010104801001123207": "oyctest20190911",
"1010104801000507689": "i1",
"1010104801000423181": "迭代1",
"1010104801001733159": "测试创建迭代2",
"1010104801001628193": "API创建测试",
"1010104801001628057": "测试创建迭代2",
"1010104801001628055": "测试创建迭代"
},
"pure_options": [
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299600000",
"value": "1010104801001787437",
"label": "测试自定义字段",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299500000",
"value": "1010104801001662155",
"label": "fromAPI",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299400000",
"value": "1010104801001641399",
"label": "create by api",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299300000",
"value": "1010104801001641397",
"label": "页面新迭代",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299200000",
"value": "1010104801001595935",
"label": "锁定的迭代",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "117990900000",
"value": "1010104801001179909",
"label": "aaaassssss",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299100000",
"value": "1020419374001202991",
"label": "adra",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "117988700000",
"value": "1010104801001179887",
"label": "cjdd",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "110398500000",
"value": "1010104801001103985",
"label": "对对对",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "111222100000",
"value": "1010104801001112221",
"label": "myI",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "108091300000",
"value": "1010104801001080913",
"label": "【Word】191001常规发布",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "117106700000",
"value": "1010104801001171067",
"label": "oyctest20190911xxx1111",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "116980300000",
"value": "1010104801001169803",
"label": "oyctest20190911xxx1111",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "110596500000",
"value": "1010104801001105965",
"label": "oyctest20190911xxx1111",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "110519300000",
"value": "1010104801001105193",
"label": "oyctest20190911xxx1111",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "108201700000",
"value": "1010104801001082017",
"label": "日常发布",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "108201300000",
"value": "1010104801001082013",
"label": "日常发布",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "108189900000",
"value": "1010104801001081899",
"label": "oyctest20190917ABC2",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "108078300000",
"value": "1010104801001080783",
"label": "日常发布",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "112320700000",
"value": "1010104801001123207",
"label": "oyctest20190911",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "50768900000",
"value": "1010104801000507689",
"label": "i1",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "42318100000",
"value": "1010104801000423181",
"label": "迭代1",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "0",
"value": "1010104801001733159",
"label": "测试创建迭代2",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "0",
"value": "1010104801001628193",
"label": "API创建测试",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "0",
"value": "1010104801001628057",
"label": "测试创建迭代2",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "0",
"value": "1010104801001628055",
"label": "测试创建迭代",
"panel": 0
}
],
"html_type": "select",
"lock_info": [],
"memo": ""
},
"project_id": {
"name": "project_id",
"label": "所属项目",
"options": {
"10104801": "TAPD 乌云"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"begin": {
"name": "begin",
"label": "预计开始",
"options": [],
"pure_options": [],
"html_type": "dateinput",
"memo": ""
},
"due": {
"name": "due",
"label": "预计结束",
"options": [],
"pure_options": [],
"html_type": "dateinput",
"memo": ""
},
"label": {
"name": "label",
"label": "标签",
"options": {
"三方依赖": "三方依赖",
"待讨论": "待讨论",
"提高优先级": "提高优先级",
"管理层关注": "管理层关注",
"紧急需求": "紧急需求",
"非常棒": "非常棒",
"阻塞": "阻塞",
"开发受阻": "开发受阻",
"有风险": "有风险",
"等待设计走查": "等待设计走查",
"方案已沟通": "方案已沟通",
"等待转测": "等待转测"
},
"pure_options": [],
"html_type": "multi_select",
"memo": ""
},
"size": {
"name": "size",
"label": "规模",
"options": [],
"pure_options": [],
"html_type": "integer",
"memo": ""
},
"effort": {
"name": "effort",
"label": "预估工时",
"options": [],
"pure_options": [],
"html_type": "float",
"memo": ""
},
"effort_completed": {
"name": "effort_completed",
"label": "完成工时",
"options": [],
"pure_options": [],
"html_type": "float",
"memo": ""
},
"remain": {
"name": "remain",
"label": "剩余工时",
"options": [],
"pure_options": [],
"html_type": "float",
"memo": ""
},
"exceed": {
"name": "exceed",
"label": "超出工时",
"options": [],
"pure_options": [],
"html_type": "float",
"memo": ""
},
"progress": {
"name": "progress",
"label": "进度",
"options": [],
"pure_options": [],
"html_type": "input",
"memo": ""
},
"estimate": {
"name": "estimate",
"label": "预计解决时间",
"options": [],
"pure_options": [],
"html_type": "int",
"memo": ""
},
"custom_field_four": {
"name": "custom_field_four",
"label": "文本的",
"options": [],
"pure_options": [],
"html_type": "text",
"memo": ""
},
"custom_field_one": {
"name": "custom_field_one",
"label": "测试下拉",
"options": {
"xxx": "xxx",
"qqq": "qqq"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"custom_field_two": {
"name": "custom_field_two",
"label": "测试字段",
"options": [],
"pure_options": [],
"html_type": "text",
"memo": ""
},
"custom_field_three": {
"name": "custom_field_three",
"label": "123",
"options": [],
"pure_options": [],
"html_type": "text",
"memo": ""
},
"custom_plan_field_1": {
"name": "custom_plan_field_1",
"label": "超级迭代",
"options": {
"1010104801001754573": "快速迭代1"
},
"pure_options": [
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299600000",
"plan_app_id": "1010104801000000397",
"value": "1010104801001754573",
"label": "快速迭代1",
"panel": 0
}
],
"html_type": "select",
"memo": ""
},
"custom_plan_field_2": {
"name": "custom_plan_field_2",
"label": "发布计划",
"options": {
"1010104801001934461": "v2test",
"1010104801001934459": "test",
"1010104801001934457": "发布",
"1010104801001934455": "4324"
},
"pure_options": [
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299700000",
"plan_app_id": "1010104801000085167",
"value": "1010104801001934461",
"label": "v2test",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299700000",
"plan_app_id": "1010104801000085167",
"value": "1010104801001934459",
"label": "test",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299700000",
"plan_app_id": "1010104801000085167",
"value": "1010104801001934457",
"label": "发布",
"panel": 0
},
{
"parent_id": "0",
"workspace_id": "10104801",
"sort": "120299700000",
"plan_app_id": "1010104801000085167",
"value": "1010104801001934455",
"label": "4324",
"panel": 0
}
],
"html_type": "select",
"memo": ""
},
"priority_label": {
"name": "priority_label",
"label": "优先级",
"color_options": [
{
"value": "urgent",
"label": "紧急",
"color": "#FF6770"
},
{
"value": "high",
"label": "高",
"color": "#FF6770"
},
{
"value": "medium",
"label": "中",
"color": "#28AB80"
},
{
"value": "low",
"label": "低",
"color": "#7C8597"
},
{
"value": "insignificant",
"label": "无关紧要",
"color": "#7C8597"
}
],
"options": {
"urgent": "紧急",
"high": "高",
"medium": "中",
"low": "低",
"insignificant": "无关紧要"
},
"pure_options": [],
"html_type": "select",
"memo": ""
},
"release_id": {
"name": "release_id",
"label": "发布计划",
"options": {
"1010104801000069739": "v2test",
"1010104801000068721": "test",
"1010104801000068405": "发布",
"1010104801000058771": "4324"
},
"pure_options": [],
"html_type": "select",
"memo": ""
}
},
"info": "success"
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
# 返回格式说明
字段 | 说明 |
---|---|
name | name |
options | 候选值 |
html_type | 类型 |
label | 中文名称 |
# 返回候选值内容
缺陷字段 | 说明 |
---|---|
priority | 优先级 |
severity | 严重程度 |
status | 状态 枚举值 (可选值) |
iteration_id | 迭代 枚举值 (可选值) |
module | 模块 枚举值 (可选值) |
release_id | 发布计划 枚举值 (可选值) |
version_report | 发现版本 枚举值 (可选值) |
version_test | 验证版本 枚举值 (可选值) |
version_fix | 合入版本 枚举值 (可选值) |
version_close | 关闭版本 枚举值 (可选值) |
baseline_find | 发现基线 枚举值 (可选值) |
baseline_join | 合入基线 枚举值 (可选值) |
baseline_test | 验证基线 枚举值 (可选值) |
baseline_close | 关闭基线 枚举值 (可选值) |
os | 操作系统 枚举值 (可选值) |
platform | 软件平台 枚举值 (可选值) |
testmode | 测试方式 枚举值 (可选值) |
testphase | 测试阶段 枚举值 (可选值) |
testtype | 测试类型 枚举值 (可选值) |
source | 缺陷根源 枚举值 (可选值) |
bugtype | 缺陷类型 枚举值 (可选值) |
frequency | 重现规律 枚举值 (可选值) |
originphase | 发现阶段 枚举值 (可选值) |
sourcephase | 引入阶段 枚举值 (可选值) |
resolution | 解决方法 枚举值 (可选值) |
custom_field_* | 解决方法 枚举值 (可选值) |
# 缺陷状态(status)可选值说明
status状态是支持每个项目单独配置的,所以状态(status)没有固定的中英文映射, 只能通过该接口获取.
# 缺陷优先级(priority)可选值说明
取值 | 字面值 |
---|---|
urgent | 紧急 |
high | 高 |
medium | 中 |
low | 低 |
insignificant | 无关紧要 |
# 缺陷严重程度(severity)可选值说明
取值 | 字面值 |
---|---|
fatal | 致命 |
serious | 严重 |
normal | 一般 |
prompt | 提示 |
advice | 建议 |
# 缺陷解决方法(resolution)可选值说明
取值 | 字面值 |
---|---|
ignore | 无需解决 |
fix | 延期解决 |
failed | 无法重现 |
external | 外部原因 |
duplicated | 重复 |
intentional | 设计如此 |
unclear | 问题描述不准确 |
hold | 挂起 |
feature | 需求变更 |
fixed | 已解决 |
transferred to story | 已转需求 |