# 说明
返回需求所有字段的中英文
# url
https://api.tapd.cn/stories/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/stories/get_fields_lable?workspace_id=10104801'
# 返回结果
{
"status": 1,
"data": {
"id": "ID",
"name": "标题",
"priority": "优先级",
"priority_label": "优先级",
"business_value": "业务价值",
"status": "状态",
"version": "版本",
"module": "模块",
"test_focus": "测试重点",
"size": "规模",
"owner": "处理人",
"cc": "抄送人",
"creator": "创建人",
"developer": "开发人员",
"begin": "预计开始",
"due": "预计结束",
"created": "创建时间",
"modified": "最后修改时间",
"completed": "完成时间",
"iteration_id": "迭代",
"feature": "特性",
"effort": "预估工时",
"effort_completed": "完成工时",
"remain": "剩余工时",
"exceed": "超出工时",
"progress": "进度",
"category_id": "需求分类",
"release_id": "发布计划",
"workitem_type_id": "需求类别",
"confidential": "保密",
"parent_id": "父需求",
"children_id": "子需求",
"tech_risk": "技术风险",
"workspace_id": "所属项目",
"custom_field_100": "测试人员",
"custom_field_99": "测试进度",
"custom_field_one": "单选",
"custom_field_two": "xxx",
"description": "详细描述"
},
"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
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
← 获取需求所有字段及候选值 获取需求模板列表 →