# 说明

返回缺陷所有字段的中英文

# url

https://api.tapd.cn/bugs/get_fields_lable

# 支持格式

JSON/XML(默认JSON格式)

# HTTP请求方式

GET

# 请求数限制

默认返回所有数据

# 请求参数

字段名 必选 类型及范围 说明 特殊规则
workspace_id integer 项目ID

# 调用示例及返回结果

# 获取项目下的缺陷字段

# curl 使用 Basic Auth 鉴权调用示例

curl -u 'api_user:api_password' 'https://api.tapd.cn/bugs/get_fields_lable?workspace_id=10104801'

# 返回结果

{
    "status": 1,
    "data": {
        "id": "ID",
        "title": "标题",
        "priority": "优先级",
        "priority_label": "优先级",
        "severity": "严重程度",
        "status": "状态",
        "iteration_id": "迭代",
        "module": "模块",
        "release_id": "发布计划",
        "feature": "特性",
        "version_report": "发现版本",
        "version_test": "验证版本",
        "version_fix": "合入版本",
        "version_close": "关闭版本",
        "baseline_find": "发现基线",
        "baseline_join": "合入基线",
        "baseline_test": "验证基线 ",
        "baseline_close": "关闭基线",
        "current_owner": "处理人",
        "cc": "抄送人",
        "reporter": "创建人",
        "participator": "参与人",
        "te": "测试人员",
        "de": "开发人员",
        "auditer": "审核人",
        "confirmer": "验证人",
        "fixer": "修复人",
        "closer": "关闭人",
        "lastmodify": "最后修改人",
        "created": "创建时间",
        "reopen_time": "重新打开时间",
        "assigned_time": "分配时间",
        "in_progress_time": "接受处理时间 ",
        "resolved": "解决时间",
        "verify_time": "验证时间",
        "closed": "关闭时间",
        "reject_time": "拒绝时间",
        "modified": "最后修改时间",
        "begin": "预计开始",
        "due": "预计结束",
        "deadline": "解决期限",
        "os": "操作系统",
        "platform": "软件平台",
        "testmode": "测试方式",
        "testphase": "测试阶段",
        "testtype": "测试类型",
        "source": "缺陷根源",
        "bugtype": "缺陷类型",
        "frequency": "重现规律",
        "originphase": "发现阶段",
        "sourcephase": "引入阶段  ",
        "resolution": "解决方法",
        "estimate": "预计解决时间",
        "description": "详细描述",
        "custom_field_one": "测试下拉",
        "custom_field_two": "测试字段"
    },
    "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
上次更新: 2024-06-13 11:12:06