zentao-api 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/zentao-api.global.js +26 -18
- package/dist/client/index.d.ts +4 -1
- package/dist/client/index.js +194 -17
- package/dist/index.d.ts +1 -1
- package/dist/misc/environment.d.ts +0 -2
- package/dist/misc/environment.js +43 -19
- package/dist/misc/errors.d.ts +1 -0
- package/dist/misc/errors.js +1 -0
- package/dist/modules/generated.d.ts +2012 -59
- package/dist/modules/generated.js +1002 -50
- package/dist/modules/override.js +36 -66
- package/dist/modules/query.d.ts +0 -2
- package/dist/modules/query.js +5 -15
- package/dist/modules/registry.d.ts +0 -9702
- package/dist/modules/registry.js +0 -4
- package/dist/modules/resolve.js +1 -1
- package/dist/profiles/index.js +1 -4
- package/dist/request/index.d.ts +12 -4
- package/dist/request/index.js +2 -2
- package/dist/types/client.d.ts +3 -3
- package/dist/types/module.d.ts +6 -2
- package/dist/types/options.d.ts +1 -0
- package/dist/utils/doc-helper/index.d.ts +1 -2
- package/dist/utils/doc-helper/index.js +0 -1
- package/dist/utils/doc-helper/inline.d.ts +0 -1
- package/dist/utils/doc-helper/inline.js +3 -81
- package/dist/utils/doc-helper/shared.d.ts +0 -5
- package/dist/utils/doc-helper/shared.js +0 -34
- package/dist/utils/doc-helper/types.d.ts +1 -13
- package/dist/version.js +2 -2
- package/package.json +9 -8
- package/dist/utils/doc-helper/html.d.ts +0 -3
- package/dist/utils/doc-helper/html.js +0 -442
|
@@ -60,8 +60,10 @@ export const BUILTIN_MODULES = [
|
|
|
60
60
|
{
|
|
61
61
|
name: 'filters',
|
|
62
62
|
required: false,
|
|
63
|
-
type: '
|
|
63
|
+
type: 'array',
|
|
64
64
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:realname(姓名,示例:admin);email(邮箱,示例:关键字);dept(部门,示例:all);account(用户名,示例:admin);role(职位,枚举:dev 研发 | qa 测试 | pm 项目经理 | po 产品经理 | td 研发主管 | pd 产品主管 | qd 测试主管 | top 高层管理 | others 其他);phone(电话,示例:关键字);visions(界面类型,枚举:rnd 研发综合界面 | lite 运营管理界面);join(入职日期,示例:2026-01-01);id(用户编号,示例:1);commiter(源代码帐号,示例:all);gender(性别,枚举:m 男 | f 女);qq(QQ,示例:关键字);skype(Skype,示例:关键字);dingding(钉钉,示例:关键字);weixin(微信,示例:关键字);slack(Slack,示例:关键字);whatsapp(WhatsApp,示例:关键字);address(通讯地址,示例:关键字);zipcode(邮编,示例:关键字)',
|
|
65
|
+
style: 'deepObject',
|
|
66
|
+
explode: true,
|
|
65
67
|
},
|
|
66
68
|
{
|
|
67
69
|
name: 'groupJoin',
|
|
@@ -106,6 +108,11 @@ export const BUILTIN_MODULES = [
|
|
|
106
108
|
"password"
|
|
107
109
|
]
|
|
108
110
|
},
|
|
111
|
+
example: {
|
|
112
|
+
"account": "productmanager",
|
|
113
|
+
"realname": "产品经理",
|
|
114
|
+
"password": "123Qwe!@#"
|
|
115
|
+
},
|
|
109
116
|
},
|
|
110
117
|
}, {
|
|
111
118
|
name: 'get',
|
|
@@ -179,6 +186,21 @@ export const BUILTIN_MODULES = [
|
|
|
179
186
|
}
|
|
180
187
|
}
|
|
181
188
|
},
|
|
189
|
+
example: {
|
|
190
|
+
"realname": "技术经理",
|
|
191
|
+
"dept": "0",
|
|
192
|
+
"join": "2025-01-01",
|
|
193
|
+
"group": [
|
|
194
|
+
1
|
|
195
|
+
],
|
|
196
|
+
"email": "test@test.com",
|
|
197
|
+
"visions": [
|
|
198
|
+
"rnd"
|
|
199
|
+
],
|
|
200
|
+
"mobile": "13812345678",
|
|
201
|
+
"weixin": "15512345678",
|
|
202
|
+
"password": "P@ssw0rd"
|
|
203
|
+
},
|
|
182
204
|
},
|
|
183
205
|
}, {
|
|
184
206
|
name: 'delete',
|
|
@@ -255,8 +277,10 @@ export const BUILTIN_MODULES = [
|
|
|
255
277
|
{
|
|
256
278
|
name: 'filters',
|
|
257
279
|
required: false,
|
|
258
|
-
type: '
|
|
280
|
+
type: 'array',
|
|
259
281
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(项目集名称,示例:关键字);PM(负责人,用户,示例:admin);openedDate(创建时间,示例:2026-01-01);status(状态,枚举:wait 未开始 | doing 进行中 | suspended 已挂起 | closed 已关闭);openedBy(创建者,用户,示例:admin);begin(计划开始,示例:2026-01-01);end(计划完成,示例:2026-01-01);realBegan(实际开始,示例:2026-01-01);realEnd(实际完成,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后编辑日期,示例:2026-01-01);desc(项目集描述,示例:关键字)',
|
|
282
|
+
style: 'deepObject',
|
|
283
|
+
explode: true,
|
|
260
284
|
},
|
|
261
285
|
{
|
|
262
286
|
name: 'groupJoin',
|
|
@@ -309,6 +333,13 @@ export const BUILTIN_MODULES = [
|
|
|
309
333
|
"end"
|
|
310
334
|
]
|
|
311
335
|
},
|
|
336
|
+
example: {
|
|
337
|
+
"name": "智能睡眠",
|
|
338
|
+
"begin": "2025-01-01",
|
|
339
|
+
"end": "2026-12-01",
|
|
340
|
+
"PM": "productManager",
|
|
341
|
+
"desc": "智能家居项目集"
|
|
342
|
+
},
|
|
312
343
|
},
|
|
313
344
|
}, {
|
|
314
345
|
name: 'get',
|
|
@@ -364,6 +395,13 @@ export const BUILTIN_MODULES = [
|
|
|
364
395
|
"end"
|
|
365
396
|
]
|
|
366
397
|
},
|
|
398
|
+
example: {
|
|
399
|
+
"name": "智能家居",
|
|
400
|
+
"begin": "2025-01-01",
|
|
401
|
+
"end": "2026-12-01",
|
|
402
|
+
"PM": "productManager",
|
|
403
|
+
"desc": "智能家居项目集"
|
|
404
|
+
},
|
|
367
405
|
},
|
|
368
406
|
}, {
|
|
369
407
|
name: 'delete',
|
|
@@ -554,6 +592,20 @@ export const BUILTIN_MODULES = [
|
|
|
554
592
|
"name"
|
|
555
593
|
]
|
|
556
594
|
},
|
|
595
|
+
example: {
|
|
596
|
+
"name": "智能头枕",
|
|
597
|
+
"program": 1,
|
|
598
|
+
"line": 0,
|
|
599
|
+
"type": "normal",
|
|
600
|
+
"PO": "normal",
|
|
601
|
+
"reviewer": [
|
|
602
|
+
"productManager"
|
|
603
|
+
],
|
|
604
|
+
"desc": "智能健康头枕",
|
|
605
|
+
"QD": "productManager",
|
|
606
|
+
"RD": "productManager",
|
|
607
|
+
"acl": "open"
|
|
608
|
+
},
|
|
557
609
|
},
|
|
558
610
|
}, {
|
|
559
611
|
name: 'close',
|
|
@@ -605,6 +657,10 @@ export const BUILTIN_MODULES = [
|
|
|
605
657
|
}
|
|
606
658
|
}
|
|
607
659
|
},
|
|
660
|
+
example: {
|
|
661
|
+
"name": "需求模块",
|
|
662
|
+
"parentID": "0"
|
|
663
|
+
},
|
|
608
664
|
},
|
|
609
665
|
}, {
|
|
610
666
|
name: 'createBugModule',
|
|
@@ -633,6 +689,10 @@ export const BUILTIN_MODULES = [
|
|
|
633
689
|
}
|
|
634
690
|
}
|
|
635
691
|
},
|
|
692
|
+
example: {
|
|
693
|
+
"name": "Bug模块",
|
|
694
|
+
"parentID": "0"
|
|
695
|
+
},
|
|
636
696
|
},
|
|
637
697
|
}, {
|
|
638
698
|
name: 'createTestcaseModule',
|
|
@@ -661,6 +721,10 @@ export const BUILTIN_MODULES = [
|
|
|
661
721
|
}
|
|
662
722
|
}
|
|
663
723
|
},
|
|
724
|
+
example: {
|
|
725
|
+
"name": "用例模块",
|
|
726
|
+
"parentID": "0"
|
|
727
|
+
},
|
|
664
728
|
},
|
|
665
729
|
}, {
|
|
666
730
|
name: 'get',
|
|
@@ -742,6 +806,20 @@ export const BUILTIN_MODULES = [
|
|
|
742
806
|
"name"
|
|
743
807
|
]
|
|
744
808
|
},
|
|
809
|
+
example: {
|
|
810
|
+
"name": "智能照明",
|
|
811
|
+
"program": 1,
|
|
812
|
+
"line": 0,
|
|
813
|
+
"type": "normal",
|
|
814
|
+
"PO": "normal",
|
|
815
|
+
"reviewer": [
|
|
816
|
+
"productManager"
|
|
817
|
+
],
|
|
818
|
+
"desc": "智能家庭照明",
|
|
819
|
+
"QD": "productManager",
|
|
820
|
+
"RD": "productManager",
|
|
821
|
+
"acl": "open"
|
|
822
|
+
},
|
|
745
823
|
},
|
|
746
824
|
}, {
|
|
747
825
|
name: 'delete',
|
|
@@ -816,8 +894,10 @@ export const BUILTIN_MODULES = [
|
|
|
816
894
|
{
|
|
817
895
|
name: 'filters',
|
|
818
896
|
required: false,
|
|
819
|
-
type: '
|
|
897
|
+
type: 'array',
|
|
820
898
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(项目名称,示例:关键字);code(项目代号,示例:关键字);id(项目ID,示例:1);model(项目管理方式,枚举:scrum Scrum | waterfall 瀑布 | kanban 看板 | agileplus 融合敏捷 | waterfallplus 融合瀑布);hasProduct(项目类型,枚举:1 产品型 | 0 项目型);parent(所属项目集,示例:all);status(状态,枚举:wait 未开始 | doing 进行中 | suspended 已挂起 | closed 已关闭 | delay 已延期);desc(项目描述,示例:关键字);PM(负责人,用户,示例:admin);openedDate(创建日期,示例:2026-01-01);begin(计划开始,示例:2026-01-01);end(计划完成,示例:2026-01-01);realBegan(实际开始,示例:2026-01-01);realEnd(实际完成,示例:2026-01-01);openedBy(由谁创建,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedDate(最后编辑日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01)',
|
|
899
|
+
style: 'deepObject',
|
|
900
|
+
explode: true,
|
|
821
901
|
},
|
|
822
902
|
{
|
|
823
903
|
name: 'groupJoin',
|
|
@@ -897,7 +977,7 @@ export const BUILTIN_MODULES = [
|
|
|
897
977
|
{
|
|
898
978
|
name: 'projectID',
|
|
899
979
|
required: true,
|
|
900
|
-
type: '
|
|
980
|
+
type: 'number',
|
|
901
981
|
description: '项目ID',
|
|
902
982
|
},
|
|
903
983
|
],
|
|
@@ -971,6 +1051,18 @@ export const BUILTIN_MODULES = [
|
|
|
971
1051
|
"workflowGroup"
|
|
972
1052
|
]
|
|
973
1053
|
},
|
|
1054
|
+
example: {
|
|
1055
|
+
"name": "智能设备研发",
|
|
1056
|
+
"model": "scrum",
|
|
1057
|
+
"begin": "2025-01-01",
|
|
1058
|
+
"end": "2026-10-01",
|
|
1059
|
+
"products": [
|
|
1060
|
+
1
|
|
1061
|
+
],
|
|
1062
|
+
"parent": 1,
|
|
1063
|
+
"workflowGroup": 13,
|
|
1064
|
+
"PM": "projectManager"
|
|
1065
|
+
},
|
|
974
1066
|
},
|
|
975
1067
|
}, {
|
|
976
1068
|
name: 'close',
|
|
@@ -1001,6 +1093,9 @@ export const BUILTIN_MODULES = [
|
|
|
1001
1093
|
"realEnd"
|
|
1002
1094
|
]
|
|
1003
1095
|
},
|
|
1096
|
+
example: {
|
|
1097
|
+
"realEnd": "2026-08-19"
|
|
1098
|
+
},
|
|
1004
1099
|
},
|
|
1005
1100
|
}, {
|
|
1006
1101
|
name: 'createStory',
|
|
@@ -1052,6 +1147,16 @@ export const BUILTIN_MODULES = [
|
|
|
1052
1147
|
"title"
|
|
1053
1148
|
]
|
|
1054
1149
|
},
|
|
1150
|
+
example: {
|
|
1151
|
+
"productID": 1,
|
|
1152
|
+
"title": "项目型项目的需求",
|
|
1153
|
+
"spec": "需求描述",
|
|
1154
|
+
"pri": 3,
|
|
1155
|
+
"category": "feature",
|
|
1156
|
+
"reviewer": [
|
|
1157
|
+
"productManager"
|
|
1158
|
+
]
|
|
1159
|
+
},
|
|
1055
1160
|
},
|
|
1056
1161
|
}, {
|
|
1057
1162
|
name: 'createBug',
|
|
@@ -1109,6 +1214,16 @@ export const BUILTIN_MODULES = [
|
|
|
1109
1214
|
"openedBuild"
|
|
1110
1215
|
]
|
|
1111
1216
|
},
|
|
1217
|
+
example: {
|
|
1218
|
+
"productID": 1,
|
|
1219
|
+
"title": "项目型项目的Bug",
|
|
1220
|
+
"openedBuild": [
|
|
1221
|
+
"trunk"
|
|
1222
|
+
],
|
|
1223
|
+
"severity": 3,
|
|
1224
|
+
"pri": 3,
|
|
1225
|
+
"type": "codeerror"
|
|
1226
|
+
},
|
|
1112
1227
|
},
|
|
1113
1228
|
}, {
|
|
1114
1229
|
name: 'createTask',
|
|
@@ -1180,6 +1295,18 @@ export const BUILTIN_MODULES = [
|
|
|
1180
1295
|
"name"
|
|
1181
1296
|
]
|
|
1182
1297
|
},
|
|
1298
|
+
example: {
|
|
1299
|
+
"name": "无执行项目任务",
|
|
1300
|
+
"executionID": 3,
|
|
1301
|
+
"type": "devel",
|
|
1302
|
+
"assignedTo": "admin",
|
|
1303
|
+
"estStarted": "2026-01-01",
|
|
1304
|
+
"deadline": "2026-01-10",
|
|
1305
|
+
"pri": 1,
|
|
1306
|
+
"estimate": 1,
|
|
1307
|
+
"module": 0,
|
|
1308
|
+
"story": 0
|
|
1309
|
+
},
|
|
1183
1310
|
},
|
|
1184
1311
|
}, {
|
|
1185
1312
|
name: 'update',
|
|
@@ -1243,6 +1370,18 @@ export const BUILTIN_MODULES = [
|
|
|
1243
1370
|
"workflowGroup"
|
|
1244
1371
|
]
|
|
1245
1372
|
},
|
|
1373
|
+
example: {
|
|
1374
|
+
"name": "智能设备研发",
|
|
1375
|
+
"model": "scrum",
|
|
1376
|
+
"begin": "2025-01-01",
|
|
1377
|
+
"end": "2026-10-01",
|
|
1378
|
+
"products": [
|
|
1379
|
+
1
|
|
1380
|
+
],
|
|
1381
|
+
"parent": 1,
|
|
1382
|
+
"workflowGroup": 13,
|
|
1383
|
+
"PM": "projectManager"
|
|
1384
|
+
},
|
|
1246
1385
|
},
|
|
1247
1386
|
}, {
|
|
1248
1387
|
name: 'delete',
|
|
@@ -1310,6 +1449,28 @@ export const BUILTIN_MODULES = [
|
|
|
1310
1449
|
"account"
|
|
1311
1450
|
]
|
|
1312
1451
|
},
|
|
1452
|
+
example: {
|
|
1453
|
+
"account": [
|
|
1454
|
+
"admin",
|
|
1455
|
+
"dev1"
|
|
1456
|
+
],
|
|
1457
|
+
"role": [
|
|
1458
|
+
"PM",
|
|
1459
|
+
"dev"
|
|
1460
|
+
],
|
|
1461
|
+
"days": [
|
|
1462
|
+
5,
|
|
1463
|
+
3
|
|
1464
|
+
],
|
|
1465
|
+
"hours": [
|
|
1466
|
+
7,
|
|
1467
|
+
7
|
|
1468
|
+
],
|
|
1469
|
+
"limited": [
|
|
1470
|
+
"no",
|
|
1471
|
+
"no"
|
|
1472
|
+
]
|
|
1473
|
+
},
|
|
1313
1474
|
},
|
|
1314
1475
|
}
|
|
1315
1476
|
],
|
|
@@ -1374,8 +1535,10 @@ export const BUILTIN_MODULES = [
|
|
|
1374
1535
|
{
|
|
1375
1536
|
name: 'filters',
|
|
1376
1537
|
required: false,
|
|
1377
|
-
type: '
|
|
1538
|
+
type: 'array',
|
|
1378
1539
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activatedDate,assignedDate,assignedTo,canceledBy,canceledDate,closedBy,closedDate,closedReason,consumed,deadline,desc,estStarted,estimate,execution,finishedBy,finishedDate,fromBug,id,keywords,lastEditedBy,lastEditedDate,left,mailto,module,name,openedBy,openedDate,pri,project,realStarted,status,story,type',
|
|
1540
|
+
style: 'deepObject',
|
|
1541
|
+
explode: true,
|
|
1379
1542
|
},
|
|
1380
1543
|
{
|
|
1381
1544
|
name: 'groupJoin',
|
|
@@ -1455,7 +1618,7 @@ export const BUILTIN_MODULES = [
|
|
|
1455
1618
|
{
|
|
1456
1619
|
name: 'executionID',
|
|
1457
1620
|
required: true,
|
|
1458
|
-
type: '
|
|
1621
|
+
type: 'number',
|
|
1459
1622
|
description: '执行ID',
|
|
1460
1623
|
},
|
|
1461
1624
|
],
|
|
@@ -1564,6 +1727,29 @@ export const BUILTIN_MODULES = [
|
|
|
1564
1727
|
"end"
|
|
1565
1728
|
]
|
|
1566
1729
|
},
|
|
1730
|
+
example: {
|
|
1731
|
+
"project": 2,
|
|
1732
|
+
"name": "智能设备研发3.1版本开发",
|
|
1733
|
+
"type": "sprint",
|
|
1734
|
+
"parent": 0,
|
|
1735
|
+
"lifetime": "short",
|
|
1736
|
+
"begin": "2026-01-01",
|
|
1737
|
+
"end": "2026-01-21",
|
|
1738
|
+
"days": 16,
|
|
1739
|
+
"products": [
|
|
1740
|
+
1
|
|
1741
|
+
],
|
|
1742
|
+
"plans": {
|
|
1743
|
+
"1": [
|
|
1744
|
+
0
|
|
1745
|
+
]
|
|
1746
|
+
},
|
|
1747
|
+
"PO": "productManager",
|
|
1748
|
+
"QD": "testManager",
|
|
1749
|
+
"PM": "executionManager",
|
|
1750
|
+
"RD": "productManager",
|
|
1751
|
+
"acl": "open"
|
|
1752
|
+
},
|
|
1567
1753
|
},
|
|
1568
1754
|
}, {
|
|
1569
1755
|
name: 'close',
|
|
@@ -1594,6 +1780,9 @@ export const BUILTIN_MODULES = [
|
|
|
1594
1780
|
"realEnd"
|
|
1595
1781
|
]
|
|
1596
1782
|
},
|
|
1783
|
+
example: {
|
|
1784
|
+
"realEnd": "2026-01-21"
|
|
1785
|
+
},
|
|
1597
1786
|
},
|
|
1598
1787
|
}, {
|
|
1599
1788
|
name: 'createTaskModule',
|
|
@@ -1622,6 +1811,10 @@ export const BUILTIN_MODULES = [
|
|
|
1622
1811
|
}
|
|
1623
1812
|
}
|
|
1624
1813
|
},
|
|
1814
|
+
example: {
|
|
1815
|
+
"name": "任务模块",
|
|
1816
|
+
"parentID": "0"
|
|
1817
|
+
},
|
|
1625
1818
|
},
|
|
1626
1819
|
}, {
|
|
1627
1820
|
name: 'get',
|
|
@@ -1717,6 +1910,27 @@ export const BUILTIN_MODULES = [
|
|
|
1717
1910
|
"end"
|
|
1718
1911
|
]
|
|
1719
1912
|
},
|
|
1913
|
+
example: {
|
|
1914
|
+
"project": 2,
|
|
1915
|
+
"name": "智能设备研发3.2版本开发",
|
|
1916
|
+
"lifetime": "short",
|
|
1917
|
+
"begin": "2026-01-01",
|
|
1918
|
+
"end": "2026-01-21",
|
|
1919
|
+
"days": 16,
|
|
1920
|
+
"products": [
|
|
1921
|
+
1
|
|
1922
|
+
],
|
|
1923
|
+
"plans": {
|
|
1924
|
+
"1": [
|
|
1925
|
+
1
|
|
1926
|
+
]
|
|
1927
|
+
},
|
|
1928
|
+
"PO": "productManager",
|
|
1929
|
+
"QD": "testManager",
|
|
1930
|
+
"PM": "executionManager",
|
|
1931
|
+
"RD": "productManager",
|
|
1932
|
+
"acl": "open"
|
|
1933
|
+
},
|
|
1720
1934
|
},
|
|
1721
1935
|
}, {
|
|
1722
1936
|
name: 'delete',
|
|
@@ -1784,6 +1998,28 @@ export const BUILTIN_MODULES = [
|
|
|
1784
1998
|
"account"
|
|
1785
1999
|
]
|
|
1786
2000
|
},
|
|
2001
|
+
example: {
|
|
2002
|
+
"account": [
|
|
2003
|
+
"admin",
|
|
2004
|
+
"dev1"
|
|
2005
|
+
],
|
|
2006
|
+
"role": [
|
|
2007
|
+
"PM",
|
|
2008
|
+
"dev"
|
|
2009
|
+
],
|
|
2010
|
+
"days": [
|
|
2011
|
+
5,
|
|
2012
|
+
3
|
|
2013
|
+
],
|
|
2014
|
+
"hours": [
|
|
2015
|
+
7,
|
|
2016
|
+
7
|
|
2017
|
+
],
|
|
2018
|
+
"limited": [
|
|
2019
|
+
"no",
|
|
2020
|
+
"no"
|
|
2021
|
+
]
|
|
2022
|
+
},
|
|
1787
2023
|
},
|
|
1788
2024
|
}
|
|
1789
2025
|
],
|
|
@@ -1852,8 +2088,10 @@ export const BUILTIN_MODULES = [
|
|
|
1852
2088
|
{
|
|
1853
2089
|
name: 'filters',
|
|
1854
2090
|
required: false,
|
|
1855
|
-
type: '
|
|
2091
|
+
type: 'array',
|
|
1856
2092
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:begin,branch,end,id,status,title',
|
|
2093
|
+
style: 'deepObject',
|
|
2094
|
+
explode: true,
|
|
1857
2095
|
},
|
|
1858
2096
|
{
|
|
1859
2097
|
name: 'groupJoin',
|
|
@@ -1916,6 +2154,15 @@ export const BUILTIN_MODULES = [
|
|
|
1916
2154
|
"title"
|
|
1917
2155
|
]
|
|
1918
2156
|
},
|
|
2157
|
+
example: {
|
|
2158
|
+
"productID": 1,
|
|
2159
|
+
"title": "V1.0计划",
|
|
2160
|
+
"parent": 0,
|
|
2161
|
+
"begin": "2026-01-01",
|
|
2162
|
+
"end": "2026-01-31",
|
|
2163
|
+
"branchID": 1,
|
|
2164
|
+
"desc": "初版计划"
|
|
2165
|
+
},
|
|
1919
2166
|
},
|
|
1920
2167
|
}, {
|
|
1921
2168
|
name: 'get',
|
|
@@ -1975,6 +2222,14 @@ export const BUILTIN_MODULES = [
|
|
|
1975
2222
|
"title"
|
|
1976
2223
|
]
|
|
1977
2224
|
},
|
|
2225
|
+
example: {
|
|
2226
|
+
"title": "V1.1计划",
|
|
2227
|
+
"parent": 0,
|
|
2228
|
+
"begin": "2026-01-01",
|
|
2229
|
+
"end": "2026-01-31",
|
|
2230
|
+
"branchID": 1,
|
|
2231
|
+
"desc": "初版计划"
|
|
2232
|
+
},
|
|
1978
2233
|
},
|
|
1979
2234
|
}, {
|
|
1980
2235
|
name: 'delete',
|
|
@@ -2013,8 +2268,7 @@ export const BUILTIN_MODULES = [
|
|
|
2013
2268
|
name: 'browseType',
|
|
2014
2269
|
required: false,
|
|
2015
2270
|
type: 'string',
|
|
2016
|
-
description: '
|
|
2017
|
-
defaultValue: 'allstory',
|
|
2271
|
+
description: '状态',
|
|
2018
2272
|
options: [
|
|
2019
2273
|
{ value: 'allstory', label: '全部' },
|
|
2020
2274
|
{ value: 'assignedtome', label: '指派给我' },
|
|
@@ -2052,8 +2306,10 @@ export const BUILTIN_MODULES = [
|
|
|
2052
2306
|
{
|
|
2053
2307
|
name: 'filters',
|
|
2054
2308
|
required: false,
|
|
2055
|
-
type: '
|
|
2309
|
+
type: 'array',
|
|
2056
2310
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
2311
|
+
style: 'deepObject',
|
|
2312
|
+
explode: true,
|
|
2057
2313
|
},
|
|
2058
2314
|
{
|
|
2059
2315
|
name: 'groupJoin',
|
|
@@ -2162,6 +2418,22 @@ export const BUILTIN_MODULES = [
|
|
|
2162
2418
|
"title"
|
|
2163
2419
|
]
|
|
2164
2420
|
},
|
|
2421
|
+
example: {
|
|
2422
|
+
"productID": 1,
|
|
2423
|
+
"title": "智能头枕的压敏单元设计",
|
|
2424
|
+
"pri": 3,
|
|
2425
|
+
"module": 0,
|
|
2426
|
+
"parent": 0,
|
|
2427
|
+
"estimate": 1,
|
|
2428
|
+
"category": "feature",
|
|
2429
|
+
"source": "customer",
|
|
2430
|
+
"assignedTo": "admin",
|
|
2431
|
+
"reviewer": [
|
|
2432
|
+
"productManager"
|
|
2433
|
+
],
|
|
2434
|
+
"project": 2,
|
|
2435
|
+
"execution": 0
|
|
2436
|
+
},
|
|
2165
2437
|
},
|
|
2166
2438
|
}, {
|
|
2167
2439
|
name: 'get',
|
|
@@ -2231,6 +2503,16 @@ export const BUILTIN_MODULES = [
|
|
|
2231
2503
|
"title"
|
|
2232
2504
|
]
|
|
2233
2505
|
},
|
|
2506
|
+
example: {
|
|
2507
|
+
"title": "智能照明的光敏单元设计",
|
|
2508
|
+
"pri": 3,
|
|
2509
|
+
"module": 0,
|
|
2510
|
+
"parent": 0,
|
|
2511
|
+
"estimate": 1,
|
|
2512
|
+
"category": "feature",
|
|
2513
|
+
"source": "customer",
|
|
2514
|
+
"assignedTo": "admin"
|
|
2515
|
+
},
|
|
2234
2516
|
},
|
|
2235
2517
|
}, {
|
|
2236
2518
|
name: 'updateModule',
|
|
@@ -2259,6 +2541,10 @@ export const BUILTIN_MODULES = [
|
|
|
2259
2541
|
}
|
|
2260
2542
|
}
|
|
2261
2543
|
},
|
|
2544
|
+
example: {
|
|
2545
|
+
"name": "需求新模块",
|
|
2546
|
+
"parent": "0"
|
|
2547
|
+
},
|
|
2262
2548
|
},
|
|
2263
2549
|
}, {
|
|
2264
2550
|
name: 'delete',
|
|
@@ -2306,6 +2592,9 @@ export const BUILTIN_MODULES = [
|
|
|
2306
2592
|
}
|
|
2307
2593
|
}
|
|
2308
2594
|
},
|
|
2595
|
+
example: {
|
|
2596
|
+
"assignedTo": "admin"
|
|
2597
|
+
},
|
|
2309
2598
|
},
|
|
2310
2599
|
}, {
|
|
2311
2600
|
name: 'change',
|
|
@@ -2347,6 +2636,14 @@ export const BUILTIN_MODULES = [
|
|
|
2347
2636
|
"reviewer"
|
|
2348
2637
|
]
|
|
2349
2638
|
},
|
|
2639
|
+
example: {
|
|
2640
|
+
"title": "智能照明的定时",
|
|
2641
|
+
"reviewer": [
|
|
2642
|
+
"admin"
|
|
2643
|
+
],
|
|
2644
|
+
"spec": "描述",
|
|
2645
|
+
"verify": "验收标准"
|
|
2646
|
+
},
|
|
2350
2647
|
},
|
|
2351
2648
|
}, {
|
|
2352
2649
|
name: 'close',
|
|
@@ -2377,6 +2674,9 @@ export const BUILTIN_MODULES = [
|
|
|
2377
2674
|
"closedReason"
|
|
2378
2675
|
]
|
|
2379
2676
|
},
|
|
2677
|
+
example: {
|
|
2678
|
+
"closedReason": "done"
|
|
2679
|
+
},
|
|
2380
2680
|
},
|
|
2381
2681
|
}
|
|
2382
2682
|
],
|
|
@@ -2443,8 +2743,10 @@ export const BUILTIN_MODULES = [
|
|
|
2443
2743
|
{
|
|
2444
2744
|
name: 'filters',
|
|
2445
2745
|
required: false,
|
|
2446
|
-
type: '
|
|
2746
|
+
type: 'array',
|
|
2447
2747
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
2748
|
+
style: 'deepObject',
|
|
2749
|
+
explode: true,
|
|
2448
2750
|
},
|
|
2449
2751
|
{
|
|
2450
2752
|
name: 'groupJoin',
|
|
@@ -2532,6 +2834,20 @@ export const BUILTIN_MODULES = [
|
|
|
2532
2834
|
"title"
|
|
2533
2835
|
]
|
|
2534
2836
|
},
|
|
2837
|
+
example: {
|
|
2838
|
+
"productID": 1,
|
|
2839
|
+
"title": "智能头枕颈椎检测",
|
|
2840
|
+
"pri": 3,
|
|
2841
|
+
"module": 0,
|
|
2842
|
+
"parent": 0,
|
|
2843
|
+
"estimate": 1,
|
|
2844
|
+
"category": "feature",
|
|
2845
|
+
"source": "customer",
|
|
2846
|
+
"assignedTo": "admin",
|
|
2847
|
+
"reviewer": [
|
|
2848
|
+
"productManager"
|
|
2849
|
+
]
|
|
2850
|
+
},
|
|
2535
2851
|
},
|
|
2536
2852
|
}, {
|
|
2537
2853
|
name: 'get',
|
|
@@ -2602,6 +2918,16 @@ export const BUILTIN_MODULES = [
|
|
|
2602
2918
|
"title"
|
|
2603
2919
|
]
|
|
2604
2920
|
},
|
|
2921
|
+
example: {
|
|
2922
|
+
"title": "智能头枕颈椎检测",
|
|
2923
|
+
"pri": 3,
|
|
2924
|
+
"module": 0,
|
|
2925
|
+
"parent": 0,
|
|
2926
|
+
"estimate": 1,
|
|
2927
|
+
"category": "feature",
|
|
2928
|
+
"source": "customer",
|
|
2929
|
+
"assignedTo": "admin"
|
|
2930
|
+
},
|
|
2605
2931
|
},
|
|
2606
2932
|
}, {
|
|
2607
2933
|
name: 'delete',
|
|
@@ -2639,6 +2965,9 @@ export const BUILTIN_MODULES = [
|
|
|
2639
2965
|
}
|
|
2640
2966
|
}
|
|
2641
2967
|
},
|
|
2968
|
+
example: {
|
|
2969
|
+
"assignedTo": "admin"
|
|
2970
|
+
},
|
|
2642
2971
|
},
|
|
2643
2972
|
}, {
|
|
2644
2973
|
name: 'change',
|
|
@@ -2680,6 +3009,14 @@ export const BUILTIN_MODULES = [
|
|
|
2680
3009
|
"reviewer"
|
|
2681
3010
|
]
|
|
2682
3011
|
},
|
|
3012
|
+
example: {
|
|
3013
|
+
"title": "智能头枕颈椎检测",
|
|
3014
|
+
"reviewer": [
|
|
3015
|
+
"admin"
|
|
3016
|
+
],
|
|
3017
|
+
"spec": "描述",
|
|
3018
|
+
"verify": "验收标准"
|
|
3019
|
+
},
|
|
2683
3020
|
},
|
|
2684
3021
|
}, {
|
|
2685
3022
|
name: 'close',
|
|
@@ -2710,6 +3047,9 @@ export const BUILTIN_MODULES = [
|
|
|
2710
3047
|
"closedReason"
|
|
2711
3048
|
]
|
|
2712
3049
|
},
|
|
3050
|
+
example: {
|
|
3051
|
+
"closedReason": "done"
|
|
3052
|
+
},
|
|
2713
3053
|
},
|
|
2714
3054
|
}
|
|
2715
3055
|
],
|
|
@@ -2776,8 +3116,10 @@ export const BUILTIN_MODULES = [
|
|
|
2776
3116
|
{
|
|
2777
3117
|
name: 'filters',
|
|
2778
3118
|
required: false,
|
|
2779
|
-
type: '
|
|
3119
|
+
type: 'array',
|
|
2780
3120
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
3121
|
+
style: 'deepObject',
|
|
3122
|
+
explode: true,
|
|
2781
3123
|
},
|
|
2782
3124
|
{
|
|
2783
3125
|
name: 'groupJoin',
|
|
@@ -2865,6 +3207,20 @@ export const BUILTIN_MODULES = [
|
|
|
2865
3207
|
"title"
|
|
2866
3208
|
]
|
|
2867
3209
|
},
|
|
3210
|
+
example: {
|
|
3211
|
+
"productID": 1,
|
|
3212
|
+
"title": "智能头枕的颈椎保护",
|
|
3213
|
+
"pri": 3,
|
|
3214
|
+
"module": 0,
|
|
3215
|
+
"parent": 0,
|
|
3216
|
+
"estimate": 1,
|
|
3217
|
+
"category": "feature",
|
|
3218
|
+
"source": "customer",
|
|
3219
|
+
"assignedTo": "admin",
|
|
3220
|
+
"reviewer": [
|
|
3221
|
+
"productManager"
|
|
3222
|
+
]
|
|
3223
|
+
},
|
|
2868
3224
|
},
|
|
2869
3225
|
}, {
|
|
2870
3226
|
name: 'get',
|
|
@@ -2934,6 +3290,16 @@ export const BUILTIN_MODULES = [
|
|
|
2934
3290
|
"title"
|
|
2935
3291
|
]
|
|
2936
3292
|
},
|
|
3293
|
+
example: {
|
|
3294
|
+
"title": "智能头枕的颈椎保护",
|
|
3295
|
+
"pri": 3,
|
|
3296
|
+
"module": 0,
|
|
3297
|
+
"parent": 0,
|
|
3298
|
+
"estimate": 1,
|
|
3299
|
+
"category": "feature",
|
|
3300
|
+
"source": "customer",
|
|
3301
|
+
"assignedTo": "admin"
|
|
3302
|
+
},
|
|
2937
3303
|
},
|
|
2938
3304
|
}, {
|
|
2939
3305
|
name: 'delete',
|
|
@@ -2971,6 +3337,9 @@ export const BUILTIN_MODULES = [
|
|
|
2971
3337
|
}
|
|
2972
3338
|
}
|
|
2973
3339
|
},
|
|
3340
|
+
example: {
|
|
3341
|
+
"assignedTo": "admin"
|
|
3342
|
+
},
|
|
2974
3343
|
},
|
|
2975
3344
|
}, {
|
|
2976
3345
|
name: 'change',
|
|
@@ -3002,6 +3371,11 @@ export const BUILTIN_MODULES = [
|
|
|
3002
3371
|
}
|
|
3003
3372
|
}
|
|
3004
3373
|
},
|
|
3374
|
+
example: {
|
|
3375
|
+
"title": "智能头枕的颈椎保护",
|
|
3376
|
+
"spec": "描述",
|
|
3377
|
+
"verify": "验收标准"
|
|
3378
|
+
},
|
|
3005
3379
|
},
|
|
3006
3380
|
}, {
|
|
3007
3381
|
name: 'close',
|
|
@@ -3032,6 +3406,9 @@ export const BUILTIN_MODULES = [
|
|
|
3032
3406
|
"closedReason"
|
|
3033
3407
|
]
|
|
3034
3408
|
},
|
|
3409
|
+
example: {
|
|
3410
|
+
"closedReason": "done"
|
|
3411
|
+
},
|
|
3035
3412
|
},
|
|
3036
3413
|
}
|
|
3037
3414
|
],
|
|
@@ -3060,12 +3437,7 @@ export const BUILTIN_MODULES = [
|
|
|
3060
3437
|
name: 'browseType',
|
|
3061
3438
|
required: false,
|
|
3062
3439
|
type: 'string',
|
|
3063
|
-
description: '
|
|
3064
|
-
defaultValue: 'all',
|
|
3065
|
-
options: [
|
|
3066
|
-
{ value: 'all', label: '全部' },
|
|
3067
|
-
{ value: 'unresolved', label: '未关闭' },
|
|
3068
|
-
],
|
|
3440
|
+
description: '状态',
|
|
3069
3441
|
},
|
|
3070
3442
|
{
|
|
3071
3443
|
name: 'orderBy',
|
|
@@ -3096,8 +3468,10 @@ export const BUILTIN_MODULES = [
|
|
|
3096
3468
|
{
|
|
3097
3469
|
name: 'filters',
|
|
3098
3470
|
required: false,
|
|
3099
|
-
type: '
|
|
3471
|
+
type: 'array',
|
|
3100
3472
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(Bug标题,示例:关键字);module(所属模块,模块,示例:0);keywords(关键词,示例:关键字);steps(重现步骤,示例:关键字);assignedTo(指派给,用户,示例:admin);resolvedBy(解决者,用户,示例:admin);status(Bug状态,枚举:active 激活 | resolved 已解决 | closed 已关闭);confirmed(是否确认,枚举:1 已确认 | 0 未确认);story(相关需求,示例:关键字);project(所属项目,示例:all);product(所属产品,示例:all);branch(branch,示例:all);plan(所属计划,示例:all);id(Bug编号,示例:1);execution(所属执行,执行,示例:3);severity(严重程度,枚举:1 | 2 | 3 | 4);pri(优先级,枚举:1 | 2 | 3 | 4);type(Bug类型,枚举:codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation 测试脚本 | designdefect 设计缺陷 | codeimprovement 代码改进 | others 其他);os(操作系统,枚举:all 全部 | windows Windows | win11 Windows 11 | win10 Windows 10 | win8 Windows 8 | win7 Windows 7 | winxp Windows XP | osx Mac OS | android Android | ios IOS | linux Linux | ubuntu Ubuntu | chromeos Chrome OS | fedora Fedora | unix Unix | others 其他);browser(浏览器,枚举:all 全部 | chrome Chrome | edge Edge | ie IE系列 | ie11 IE11 | ie10 IE10 | ie9 IE9 | ie8 IE8 | firefox firefox系列 | opera Opera系列 | safari | 360 360浏览器 | qq QQ浏览器 | other 其他);resolution(解决方案,枚举:bydesign 设计如此 | duplicate 重复Bug | external 外部原因 | fixed 已解决 | notrepro 无法重现 | postponed 延期处理 | willnotfix 不予解决 | tostory 转为用户故事);activatedCount(激活次数,示例:关键字);toTask(转任务,示例:关键字);toStory(转用户故事,示例:关键字);openedBy(由谁创建,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(修改者,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedBuild(影响版本,示例:builds);resolvedBuild(解决版本,示例:builds);openedDate(创建日期,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);resolvedDate(解决日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);activatedDate(激活时间,示例:2026-01-01)',
|
|
3473
|
+
style: 'deepObject',
|
|
3474
|
+
explode: true,
|
|
3101
3475
|
},
|
|
3102
3476
|
{
|
|
3103
3477
|
name: 'groupJoin',
|
|
@@ -3194,6 +3568,21 @@ export const BUILTIN_MODULES = [
|
|
|
3194
3568
|
"openedBuild"
|
|
3195
3569
|
]
|
|
3196
3570
|
},
|
|
3571
|
+
example: {
|
|
3572
|
+
"productID": 1,
|
|
3573
|
+
"title": "压敏元件显示错误",
|
|
3574
|
+
"openedBuild": [
|
|
3575
|
+
"trunk"
|
|
3576
|
+
],
|
|
3577
|
+
"project": 2,
|
|
3578
|
+
"execution": 3,
|
|
3579
|
+
"severity": 3,
|
|
3580
|
+
"pri": 3,
|
|
3581
|
+
"type": "codeerror",
|
|
3582
|
+
"steps": "[步骤] [结果] [期望]",
|
|
3583
|
+
"story": 0,
|
|
3584
|
+
"assignedTo": "admin"
|
|
3585
|
+
},
|
|
3197
3586
|
},
|
|
3198
3587
|
}, {
|
|
3199
3588
|
name: 'get',
|
|
@@ -3272,6 +3661,20 @@ export const BUILTIN_MODULES = [
|
|
|
3272
3661
|
}
|
|
3273
3662
|
}
|
|
3274
3663
|
},
|
|
3664
|
+
example: {
|
|
3665
|
+
"title": "光敏元件显示错误",
|
|
3666
|
+
"severity": 3,
|
|
3667
|
+
"pri": 3,
|
|
3668
|
+
"type": "codeerror",
|
|
3669
|
+
"openedBuild": [
|
|
3670
|
+
"trunk"
|
|
3671
|
+
],
|
|
3672
|
+
"steps": "[步骤] [结果] [期望]",
|
|
3673
|
+
"project": 2,
|
|
3674
|
+
"execution": 3,
|
|
3675
|
+
"story": 0,
|
|
3676
|
+
"assignedTo": "admin"
|
|
3677
|
+
},
|
|
3275
3678
|
},
|
|
3276
3679
|
}, {
|
|
3277
3680
|
name: 'updateModule',
|
|
@@ -3300,6 +3703,10 @@ export const BUILTIN_MODULES = [
|
|
|
3300
3703
|
}
|
|
3301
3704
|
}
|
|
3302
3705
|
},
|
|
3706
|
+
example: {
|
|
3707
|
+
"name": "Bug新模块",
|
|
3708
|
+
"parent": "0"
|
|
3709
|
+
},
|
|
3303
3710
|
},
|
|
3304
3711
|
}, {
|
|
3305
3712
|
name: 'delete',
|
|
@@ -3354,6 +3761,12 @@ export const BUILTIN_MODULES = [
|
|
|
3354
3761
|
}
|
|
3355
3762
|
}
|
|
3356
3763
|
},
|
|
3764
|
+
example: {
|
|
3765
|
+
"openedBuild": [
|
|
3766
|
+
"trunk"
|
|
3767
|
+
],
|
|
3768
|
+
"assignedTo": "admin"
|
|
3769
|
+
},
|
|
3357
3770
|
},
|
|
3358
3771
|
}, {
|
|
3359
3772
|
name: 'close',
|
|
@@ -3428,6 +3841,15 @@ export const BUILTIN_MODULES = [
|
|
|
3428
3841
|
}
|
|
3429
3842
|
}
|
|
3430
3843
|
},
|
|
3844
|
+
example: {
|
|
3845
|
+
"assignedTo": "admin",
|
|
3846
|
+
"type": "codeerror",
|
|
3847
|
+
"pri": 3,
|
|
3848
|
+
"deadline": "2025-12-12",
|
|
3849
|
+
"mailto": [
|
|
3850
|
+
"admin"
|
|
3851
|
+
]
|
|
3852
|
+
},
|
|
3431
3853
|
},
|
|
3432
3854
|
}, {
|
|
3433
3855
|
name: 'resolve',
|
|
@@ -3470,6 +3892,12 @@ export const BUILTIN_MODULES = [
|
|
|
3470
3892
|
"resolution"
|
|
3471
3893
|
]
|
|
3472
3894
|
},
|
|
3895
|
+
example: {
|
|
3896
|
+
"resolution": "fixed",
|
|
3897
|
+
"resolvedDate": "2025-12-12",
|
|
3898
|
+
"resolvedBuild": "trunk",
|
|
3899
|
+
"assignedTo": "admin"
|
|
3900
|
+
},
|
|
3473
3901
|
},
|
|
3474
3902
|
}
|
|
3475
3903
|
],
|
|
@@ -3511,14 +3939,6 @@ export const BUILTIN_MODULES = [
|
|
|
3511
3939
|
required: false,
|
|
3512
3940
|
type: 'string',
|
|
3513
3941
|
description: '排序',
|
|
3514
|
-
options: [
|
|
3515
|
-
{ value: 'id_asc', label: 'ID 升序' },
|
|
3516
|
-
{ value: 'id_desc', label: 'ID 降序' },
|
|
3517
|
-
{ value: 'title_asc', label: '标题 升序' },
|
|
3518
|
-
{ value: 'title_desc', label: '标题 降序' },
|
|
3519
|
-
{ value: 'status_asc', label: '状态 升序' },
|
|
3520
|
-
{ value: 'status_desc', label: '状态 降序' },
|
|
3521
|
-
],
|
|
3522
3942
|
},
|
|
3523
3943
|
{
|
|
3524
3944
|
name: 'recPerPage',
|
|
@@ -3535,8 +3955,10 @@ export const BUILTIN_MODULES = [
|
|
|
3535
3955
|
{
|
|
3536
3956
|
name: 'filters',
|
|
3537
3957
|
required: false,
|
|
3538
|
-
type: '
|
|
3958
|
+
type: 'array',
|
|
3539
3959
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(用例名称,示例:关键字);story(关联需求,示例:all);id(用例编号,示例:1);keywords(关键词,示例:关键字);lastEditedBy(修改者,用户,示例:admin);type(用例类型,枚举:unit 单元测试 | interface 接口测试 | feature 功能测试 | install 安装部署 | config 配置相关 | performance 性能测试 | security 安全相关 | other 其他);auto(自动化,枚举:auto 是 | no 否);openedBy(由谁创建,用户,示例:admin);status(用例状态,枚举:wait 待评审 | normal 正常 | blocked 被阻塞 | investigate 研究中);product(所属产品,示例:all);branch(branch,示例:all);stage(适用环节,枚举:unittest 单元测试环节 | feature 功能测试环节 | intergrate 集成测试环节 | system 系统测试环节 | smoke 冒烟测试环节 | bvt 版本验证环节);module(所属模块,模块,示例:0);pri(优先级,枚举:3 | 1 | 2 | 4);lib(所属库,示例:all);lastRunner(执行人,用户,示例:admin);lastRunResult(结果,枚举:pass 通过 | fail 失败 | blocked 阻塞 | null 未执行);lastRunDate(执行时间,示例:2026-01-01);openedDate(创建日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);scene(所属场景,示例:all)',
|
|
3960
|
+
style: 'deepObject',
|
|
3961
|
+
explode: true,
|
|
3540
3962
|
},
|
|
3541
3963
|
{
|
|
3542
3964
|
name: 'groupJoin',
|
|
@@ -3642,6 +4064,28 @@ export const BUILTIN_MODULES = [
|
|
|
3642
4064
|
"title"
|
|
3643
4065
|
]
|
|
3644
4066
|
},
|
|
4067
|
+
example: {
|
|
4068
|
+
"productID": 1,
|
|
4069
|
+
"title": "测试压敏模块显示是否正常",
|
|
4070
|
+
"module": 0,
|
|
4071
|
+
"story": 0,
|
|
4072
|
+
"pri": 3,
|
|
4073
|
+
"type": "feature",
|
|
4074
|
+
"steps": [
|
|
4075
|
+
"步骤1",
|
|
4076
|
+
"步骤2"
|
|
4077
|
+
],
|
|
4078
|
+
"expects": [
|
|
4079
|
+
"期望1",
|
|
4080
|
+
"期望2"
|
|
4081
|
+
],
|
|
4082
|
+
"stepType": [
|
|
4083
|
+
"step",
|
|
4084
|
+
"step"
|
|
4085
|
+
],
|
|
4086
|
+
"project": 2,
|
|
4087
|
+
"execution": 3
|
|
4088
|
+
},
|
|
3645
4089
|
},
|
|
3646
4090
|
}, {
|
|
3647
4091
|
name: 'get',
|
|
@@ -3723,6 +4167,25 @@ export const BUILTIN_MODULES = [
|
|
|
3723
4167
|
"title"
|
|
3724
4168
|
]
|
|
3725
4169
|
},
|
|
4170
|
+
example: {
|
|
4171
|
+
"title": "测试光敏模块显示是否正常",
|
|
4172
|
+
"module": 0,
|
|
4173
|
+
"story": 0,
|
|
4174
|
+
"pri": 3,
|
|
4175
|
+
"type": "feature",
|
|
4176
|
+
"steps": [
|
|
4177
|
+
"步骤1",
|
|
4178
|
+
"步骤2"
|
|
4179
|
+
],
|
|
4180
|
+
"expects": [
|
|
4181
|
+
"期望1",
|
|
4182
|
+
"期望2"
|
|
4183
|
+
],
|
|
4184
|
+
"stepType": [
|
|
4185
|
+
"step",
|
|
4186
|
+
"step"
|
|
4187
|
+
]
|
|
4188
|
+
},
|
|
3726
4189
|
},
|
|
3727
4190
|
}, {
|
|
3728
4191
|
name: 'updateModule',
|
|
@@ -3751,6 +4214,10 @@ export const BUILTIN_MODULES = [
|
|
|
3751
4214
|
}
|
|
3752
4215
|
}
|
|
3753
4216
|
},
|
|
4217
|
+
example: {
|
|
4218
|
+
"name": "用例新模块",
|
|
4219
|
+
"parent": "0"
|
|
4220
|
+
},
|
|
3754
4221
|
},
|
|
3755
4222
|
}, {
|
|
3756
4223
|
name: 'delete',
|
|
@@ -3915,6 +4382,18 @@ export const BUILTIN_MODULES = [
|
|
|
3915
4382
|
"executionID"
|
|
3916
4383
|
]
|
|
3917
4384
|
},
|
|
4385
|
+
example: {
|
|
4386
|
+
"name": "开发电容压力监测模块",
|
|
4387
|
+
"executionID": 3,
|
|
4388
|
+
"type": "devel",
|
|
4389
|
+
"assignedTo": "admin",
|
|
4390
|
+
"estStarted": "2025-12-25",
|
|
4391
|
+
"deadline": "2025-12-30",
|
|
4392
|
+
"pri": 1,
|
|
4393
|
+
"estimate": 1,
|
|
4394
|
+
"module": 1,
|
|
4395
|
+
"story": 1
|
|
4396
|
+
},
|
|
3918
4397
|
},
|
|
3919
4398
|
}, {
|
|
3920
4399
|
name: 'get',
|
|
@@ -3989,6 +4468,17 @@ export const BUILTIN_MODULES = [
|
|
|
3989
4468
|
}
|
|
3990
4469
|
}
|
|
3991
4470
|
},
|
|
4471
|
+
example: {
|
|
4472
|
+
"name": "开发电容光敏监测模块",
|
|
4473
|
+
"type": "devel",
|
|
4474
|
+
"assignedTo": "admin",
|
|
4475
|
+
"estStarted": "2025-12-25",
|
|
4476
|
+
"deadline": "2025-12-30",
|
|
4477
|
+
"pri": 1,
|
|
4478
|
+
"estimate": 1,
|
|
4479
|
+
"module": 1,
|
|
4480
|
+
"story": 1
|
|
4481
|
+
},
|
|
3992
4482
|
},
|
|
3993
4483
|
}, {
|
|
3994
4484
|
name: 'updateModule',
|
|
@@ -4017,6 +4507,10 @@ export const BUILTIN_MODULES = [
|
|
|
4017
4507
|
}
|
|
4018
4508
|
}
|
|
4019
4509
|
},
|
|
4510
|
+
example: {
|
|
4511
|
+
"name": "任务新模块",
|
|
4512
|
+
"parent": "0"
|
|
4513
|
+
},
|
|
4020
4514
|
},
|
|
4021
4515
|
}, {
|
|
4022
4516
|
name: 'delete',
|
|
@@ -4069,6 +4563,10 @@ export const BUILTIN_MODULES = [
|
|
|
4069
4563
|
}
|
|
4070
4564
|
}
|
|
4071
4565
|
},
|
|
4566
|
+
example: {
|
|
4567
|
+
"left": 1,
|
|
4568
|
+
"assignedTo": "admin"
|
|
4569
|
+
},
|
|
4072
4570
|
},
|
|
4073
4571
|
}, {
|
|
4074
4572
|
name: 'close',
|
|
@@ -4142,6 +4640,13 @@ export const BUILTIN_MODULES = [
|
|
|
4142
4640
|
"finishedDate"
|
|
4143
4641
|
]
|
|
4144
4642
|
},
|
|
4643
|
+
example: {
|
|
4644
|
+
"currentConsumed": 1,
|
|
4645
|
+
"assignedTo": "admin",
|
|
4646
|
+
"consumed": 1,
|
|
4647
|
+
"realStarted": "2025-12-25 09:00:00",
|
|
4648
|
+
"finishedDate": "2025-12-30 17:30:00"
|
|
4649
|
+
},
|
|
4145
4650
|
},
|
|
4146
4651
|
}, {
|
|
4147
4652
|
name: 'start',
|
|
@@ -4186,6 +4691,12 @@ export const BUILTIN_MODULES = [
|
|
|
4186
4691
|
"realStarted"
|
|
4187
4692
|
]
|
|
4188
4693
|
},
|
|
4694
|
+
example: {
|
|
4695
|
+
"assignedTo": "admin",
|
|
4696
|
+
"realStarted": "2025-12-26 09:00:00",
|
|
4697
|
+
"consumed": 1,
|
|
4698
|
+
"left": 1
|
|
4699
|
+
},
|
|
4189
4700
|
},
|
|
4190
4701
|
}
|
|
4191
4702
|
],
|
|
@@ -4253,8 +4764,10 @@ export const BUILTIN_MODULES = [
|
|
|
4253
4764
|
{
|
|
4254
4765
|
name: 'filters',
|
|
4255
4766
|
required: false,
|
|
4256
|
-
type: '
|
|
4767
|
+
type: 'array',
|
|
4257
4768
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:assignedDate,assignedTo,closedBy,closedDate,createdBy,createdDate,editedBy,editedDate,execution,id,pri,project,severity,status,title,type',
|
|
4769
|
+
style: 'deepObject',
|
|
4770
|
+
explode: true,
|
|
4258
4771
|
},
|
|
4259
4772
|
{
|
|
4260
4773
|
name: 'groupJoin',
|
|
@@ -4327,8 +4840,10 @@ export const BUILTIN_MODULES = [
|
|
|
4327
4840
|
{
|
|
4328
4841
|
name: 'filters',
|
|
4329
4842
|
required: false,
|
|
4330
|
-
type: '
|
|
4843
|
+
type: 'array',
|
|
4331
4844
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:assignedDate,assignedTo,closedBy,closedDate,createdBy,createdDate,editedBy,editedDate,execution,id,pri,project,severity,status,title,type',
|
|
4845
|
+
style: 'deepObject',
|
|
4846
|
+
explode: true,
|
|
4332
4847
|
},
|
|
4333
4848
|
{
|
|
4334
4849
|
name: 'groupJoin',
|
|
@@ -4401,8 +4916,10 @@ export const BUILTIN_MODULES = [
|
|
|
4401
4916
|
{
|
|
4402
4917
|
name: 'filters',
|
|
4403
4918
|
required: false,
|
|
4404
|
-
type: '
|
|
4919
|
+
type: 'array',
|
|
4405
4920
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:assignedDate,assignedTo,closedBy,closedDate,createdBy,createdDate,editedBy,editedDate,execution,id,pri,project,severity,status,title,type',
|
|
4921
|
+
style: 'deepObject',
|
|
4922
|
+
explode: true,
|
|
4406
4923
|
},
|
|
4407
4924
|
{
|
|
4408
4925
|
name: 'groupJoin',
|
|
@@ -4485,6 +5002,18 @@ export const BUILTIN_MODULES = [
|
|
|
4485
5002
|
"severity"
|
|
4486
5003
|
]
|
|
4487
5004
|
},
|
|
5005
|
+
example: {
|
|
5006
|
+
"objectID": 2,
|
|
5007
|
+
"from": 0,
|
|
5008
|
+
"title": "关键路径延期",
|
|
5009
|
+
"type": "design",
|
|
5010
|
+
"severity": 3,
|
|
5011
|
+
"pri": 3,
|
|
5012
|
+
"execution": 3,
|
|
5013
|
+
"assignedTo": "admin",
|
|
5014
|
+
"owner": "admin",
|
|
5015
|
+
"deadline": "2026-03-01"
|
|
5016
|
+
},
|
|
4488
5017
|
},
|
|
4489
5018
|
}, {
|
|
4490
5019
|
name: 'get',
|
|
@@ -4563,8 +5092,10 @@ export const BUILTIN_MODULES = [
|
|
|
4563
5092
|
{
|
|
4564
5093
|
name: 'filters',
|
|
4565
5094
|
required: false,
|
|
4566
|
-
type: '
|
|
5095
|
+
type: 'array',
|
|
4567
5096
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy',
|
|
5097
|
+
style: 'deepObject',
|
|
5098
|
+
explode: true,
|
|
4568
5099
|
},
|
|
4569
5100
|
{
|
|
4570
5101
|
name: 'groupJoin',
|
|
@@ -4637,8 +5168,10 @@ export const BUILTIN_MODULES = [
|
|
|
4637
5168
|
{
|
|
4638
5169
|
name: 'filters',
|
|
4639
5170
|
required: false,
|
|
4640
|
-
type: '
|
|
5171
|
+
type: 'array',
|
|
4641
5172
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy',
|
|
5173
|
+
style: 'deepObject',
|
|
5174
|
+
explode: true,
|
|
4642
5175
|
},
|
|
4643
5176
|
{
|
|
4644
5177
|
name: 'groupJoin',
|
|
@@ -4711,8 +5244,10 @@ export const BUILTIN_MODULES = [
|
|
|
4711
5244
|
{
|
|
4712
5245
|
name: 'filters',
|
|
4713
5246
|
required: false,
|
|
4714
|
-
type: '
|
|
5247
|
+
type: 'array',
|
|
4715
5248
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy',
|
|
5249
|
+
style: 'deepObject',
|
|
5250
|
+
explode: true,
|
|
4716
5251
|
},
|
|
4717
5252
|
{
|
|
4718
5253
|
name: 'groupJoin',
|
|
@@ -4813,6 +5348,21 @@ export const BUILTIN_MODULES = [
|
|
|
4813
5348
|
"pri"
|
|
4814
5349
|
]
|
|
4815
5350
|
},
|
|
5351
|
+
example: {
|
|
5352
|
+
"project": 2,
|
|
5353
|
+
"name": "关键路径延期",
|
|
5354
|
+
"execution": 3,
|
|
5355
|
+
"source": "business",
|
|
5356
|
+
"category": "technical",
|
|
5357
|
+
"strategy": "avoidance",
|
|
5358
|
+
"impact": 3,
|
|
5359
|
+
"probability": 3,
|
|
5360
|
+
"rate": 9,
|
|
5361
|
+
"pri": 2,
|
|
5362
|
+
"identifiedDate": "2026-01-01",
|
|
5363
|
+
"plannedClosedDate": "2026-03-01",
|
|
5364
|
+
"assignedTo": "admin"
|
|
5365
|
+
},
|
|
4816
5366
|
},
|
|
4817
5367
|
}, {
|
|
4818
5368
|
name: 'get',
|
|
@@ -4906,6 +5456,19 @@ export const BUILTIN_MODULES = [
|
|
|
4906
5456
|
"name"
|
|
4907
5457
|
]
|
|
4908
5458
|
},
|
|
5459
|
+
example: {
|
|
5460
|
+
"name": "关键路径延期",
|
|
5461
|
+
"source": "business",
|
|
5462
|
+
"category": "technical",
|
|
5463
|
+
"strategy": "avoidance",
|
|
5464
|
+
"impact": 3,
|
|
5465
|
+
"probability": 3,
|
|
5466
|
+
"rate": 9,
|
|
5467
|
+
"pri": 2,
|
|
5468
|
+
"identifiedDate": "2026-01-01",
|
|
5469
|
+
"plannedClosedDate": "2026-03-01",
|
|
5470
|
+
"assignedTo": "admin"
|
|
5471
|
+
},
|
|
4909
5472
|
},
|
|
4910
5473
|
}
|
|
4911
5474
|
],
|
|
@@ -4967,8 +5530,10 @@ export const BUILTIN_MODULES = [
|
|
|
4967
5530
|
{
|
|
4968
5531
|
name: 'filters',
|
|
4969
5532
|
required: false,
|
|
4970
|
-
type: '
|
|
5533
|
+
type: 'array',
|
|
4971
5534
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:begin,createdBy,createdDate,date,dept,editedBy,editedDate,end,execution,host,id,minutedBy,minutedDate,mode,name,project,room',
|
|
5535
|
+
style: 'deepObject',
|
|
5536
|
+
explode: true,
|
|
4972
5537
|
},
|
|
4973
5538
|
{
|
|
4974
5539
|
name: 'groupJoin',
|
|
@@ -5035,8 +5600,10 @@ export const BUILTIN_MODULES = [
|
|
|
5035
5600
|
{
|
|
5036
5601
|
name: 'filters',
|
|
5037
5602
|
required: false,
|
|
5038
|
-
type: '
|
|
5603
|
+
type: 'array',
|
|
5039
5604
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:begin,createdBy,createdDate,date,dept,editedBy,editedDate,end,execution,host,id,minutedBy,minutedDate,mode,name,project,room',
|
|
5605
|
+
style: 'deepObject',
|
|
5606
|
+
explode: true,
|
|
5040
5607
|
},
|
|
5041
5608
|
{
|
|
5042
5609
|
name: 'groupJoin',
|
|
@@ -5103,8 +5670,10 @@ export const BUILTIN_MODULES = [
|
|
|
5103
5670
|
{
|
|
5104
5671
|
name: 'filters',
|
|
5105
5672
|
required: false,
|
|
5106
|
-
type: '
|
|
5673
|
+
type: 'array',
|
|
5107
5674
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:begin,createdBy,createdDate,date,dept,editedBy,editedDate,end,execution,host,id,minutedBy,minutedDate,mode,name,project,room',
|
|
5675
|
+
style: 'deepObject',
|
|
5676
|
+
explode: true,
|
|
5108
5677
|
},
|
|
5109
5678
|
{
|
|
5110
5679
|
name: 'groupJoin',
|
|
@@ -5197,6 +5766,21 @@ export const BUILTIN_MODULES = [
|
|
|
5197
5766
|
"participant"
|
|
5198
5767
|
]
|
|
5199
5768
|
},
|
|
5769
|
+
example: {
|
|
5770
|
+
"project": 2,
|
|
5771
|
+
"execution": 3,
|
|
5772
|
+
"name": "项目周会",
|
|
5773
|
+
"begin": "2026-08-20 09:00",
|
|
5774
|
+
"end": "2026-08-20 10:00",
|
|
5775
|
+
"mode": "online",
|
|
5776
|
+
"host": "admin",
|
|
5777
|
+
"participant": [
|
|
5778
|
+
"admin"
|
|
5779
|
+
],
|
|
5780
|
+
"room": 0,
|
|
5781
|
+
"dept": 0,
|
|
5782
|
+
"objectID": 0
|
|
5783
|
+
},
|
|
5200
5784
|
},
|
|
5201
5785
|
}, {
|
|
5202
5786
|
name: 'get',
|
|
@@ -5281,6 +5865,19 @@ export const BUILTIN_MODULES = [
|
|
|
5281
5865
|
"participant"
|
|
5282
5866
|
]
|
|
5283
5867
|
},
|
|
5868
|
+
example: {
|
|
5869
|
+
"name": "项目周会",
|
|
5870
|
+
"begin": "2026-08-20 09:30",
|
|
5871
|
+
"end": "2026-08-20 10:30",
|
|
5872
|
+
"mode": "online",
|
|
5873
|
+
"host": "admin",
|
|
5874
|
+
"participant": [
|
|
5875
|
+
"admin"
|
|
5876
|
+
],
|
|
5877
|
+
"room": 0,
|
|
5878
|
+
"dept": 0,
|
|
5879
|
+
"objectID": 0
|
|
5880
|
+
},
|
|
5284
5881
|
},
|
|
5285
5882
|
}, {
|
|
5286
5883
|
name: 'delete',
|
|
@@ -5314,6 +5911,9 @@ export const BUILTIN_MODULES = [
|
|
|
5314
5911
|
}
|
|
5315
5912
|
}
|
|
5316
5913
|
},
|
|
5914
|
+
example: {
|
|
5915
|
+
"minutes": "会议纪要内容"
|
|
5916
|
+
},
|
|
5317
5917
|
},
|
|
5318
5918
|
}
|
|
5319
5919
|
],
|
|
@@ -5382,8 +5982,10 @@ export const BUILTIN_MODULES = [
|
|
|
5382
5982
|
{
|
|
5383
5983
|
name: 'filters',
|
|
5384
5984
|
required: false,
|
|
5385
|
-
type: '
|
|
5985
|
+
type: 'array',
|
|
5386
5986
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activatedBy,activatedDate,assignedTo,closedBy,closedDate,closedReason,desc,feedbackBy,id,keywords,mailto,module,notifyEmail,openedBy,openedDate,pri,processedBy,processedDate,product,public,reviewedBy,solution,source,status,title,type',
|
|
5987
|
+
style: 'deepObject',
|
|
5988
|
+
explode: true,
|
|
5387
5989
|
},
|
|
5388
5990
|
{
|
|
5389
5991
|
name: 'groupJoin',
|
|
@@ -5445,6 +6047,15 @@ export const BUILTIN_MODULES = [
|
|
|
5445
6047
|
"title"
|
|
5446
6048
|
]
|
|
5447
6049
|
},
|
|
6050
|
+
example: {
|
|
6051
|
+
"product": 1,
|
|
6052
|
+
"title": "电容压力监测灵敏度不够",
|
|
6053
|
+
"module": 0,
|
|
6054
|
+
"type": "story",
|
|
6055
|
+
"desc": "监测灵敏度不够",
|
|
6056
|
+
"feedbackBy": "客户对接人",
|
|
6057
|
+
"source": "XX技术有限公司"
|
|
6058
|
+
},
|
|
5448
6059
|
},
|
|
5449
6060
|
}, {
|
|
5450
6061
|
name: 'createBug',
|
|
@@ -5503,6 +6114,17 @@ export const BUILTIN_MODULES = [
|
|
|
5503
6114
|
"openedBuild"
|
|
5504
6115
|
]
|
|
5505
6116
|
},
|
|
6117
|
+
example: {
|
|
6118
|
+
"productID": 1,
|
|
6119
|
+
"title": "从反馈创建的Bug",
|
|
6120
|
+
"openedBuild": [
|
|
6121
|
+
"trunk"
|
|
6122
|
+
],
|
|
6123
|
+
"severity": 3,
|
|
6124
|
+
"pri": 3,
|
|
6125
|
+
"type": "codeerror",
|
|
6126
|
+
"steps": "反馈转Bug"
|
|
6127
|
+
},
|
|
5506
6128
|
},
|
|
5507
6129
|
}, {
|
|
5508
6130
|
name: 'createTicket',
|
|
@@ -5549,6 +6171,13 @@ export const BUILTIN_MODULES = [
|
|
|
5549
6171
|
"title"
|
|
5550
6172
|
]
|
|
5551
6173
|
},
|
|
6174
|
+
example: {
|
|
6175
|
+
"product": 1,
|
|
6176
|
+
"module": 1,
|
|
6177
|
+
"title": "从反馈创建的工单",
|
|
6178
|
+
"type": "code",
|
|
6179
|
+
"desc": "反馈转工单"
|
|
6180
|
+
},
|
|
5552
6181
|
},
|
|
5553
6182
|
}, {
|
|
5554
6183
|
name: 'createTodo',
|
|
@@ -5580,6 +6209,10 @@ export const BUILTIN_MODULES = [
|
|
|
5580
6209
|
"name"
|
|
5581
6210
|
]
|
|
5582
6211
|
},
|
|
6212
|
+
example: {
|
|
6213
|
+
"date": "2026-08-19",
|
|
6214
|
+
"name": "从反馈创建的待办"
|
|
6215
|
+
},
|
|
5583
6216
|
},
|
|
5584
6217
|
}, {
|
|
5585
6218
|
name: 'createStory',
|
|
@@ -5625,6 +6258,13 @@ export const BUILTIN_MODULES = [
|
|
|
5625
6258
|
"title"
|
|
5626
6259
|
]
|
|
5627
6260
|
},
|
|
6261
|
+
example: {
|
|
6262
|
+
"productID": 1,
|
|
6263
|
+
"title": "从反馈创建的需求",
|
|
6264
|
+
"spec": "反馈转需求",
|
|
6265
|
+
"pri": 3,
|
|
6266
|
+
"category": "feature"
|
|
6267
|
+
},
|
|
5628
6268
|
},
|
|
5629
6269
|
}, {
|
|
5630
6270
|
name: 'createTask',
|
|
@@ -5677,6 +6317,15 @@ export const BUILTIN_MODULES = [
|
|
|
5677
6317
|
"name"
|
|
5678
6318
|
]
|
|
5679
6319
|
},
|
|
6320
|
+
example: {
|
|
6321
|
+
"executionID": 3,
|
|
6322
|
+
"name": "从反馈创建的任务",
|
|
6323
|
+
"type": "devel",
|
|
6324
|
+
"assignedTo": "admin",
|
|
6325
|
+
"estStarted": "2026-01-01",
|
|
6326
|
+
"deadline": "2026-01-10",
|
|
6327
|
+
"desc": "反馈转任务"
|
|
6328
|
+
},
|
|
5680
6329
|
},
|
|
5681
6330
|
}, {
|
|
5682
6331
|
name: 'get',
|
|
@@ -5741,6 +6390,15 @@ export const BUILTIN_MODULES = [
|
|
|
5741
6390
|
"title"
|
|
5742
6391
|
]
|
|
5743
6392
|
},
|
|
6393
|
+
example: {
|
|
6394
|
+
"product": 1,
|
|
6395
|
+
"module": 0,
|
|
6396
|
+
"title": "光敏元件灵敏度不够",
|
|
6397
|
+
"type": "story",
|
|
6398
|
+
"desc": "监测灵敏度不够",
|
|
6399
|
+
"feedbackBy": "客户对接人",
|
|
6400
|
+
"source": "XX技术有限公司"
|
|
6401
|
+
},
|
|
5744
6402
|
},
|
|
5745
6403
|
}, {
|
|
5746
6404
|
name: 'delete',
|
|
@@ -5778,6 +6436,9 @@ export const BUILTIN_MODULES = [
|
|
|
5778
6436
|
}
|
|
5779
6437
|
}
|
|
5780
6438
|
},
|
|
6439
|
+
example: {
|
|
6440
|
+
"assignedTo": "admin"
|
|
6441
|
+
},
|
|
5781
6442
|
},
|
|
5782
6443
|
}, {
|
|
5783
6444
|
name: 'close',
|
|
@@ -5812,6 +6473,10 @@ export const BUILTIN_MODULES = [
|
|
|
5812
6473
|
"closedReason"
|
|
5813
6474
|
]
|
|
5814
6475
|
},
|
|
6476
|
+
example: {
|
|
6477
|
+
"closedReason": "done",
|
|
6478
|
+
"confirmClose": "yes"
|
|
6479
|
+
},
|
|
5815
6480
|
},
|
|
5816
6481
|
}
|
|
5817
6482
|
],
|
|
@@ -5881,8 +6546,10 @@ export const BUILTIN_MODULES = [
|
|
|
5881
6546
|
{
|
|
5882
6547
|
name: 'filters',
|
|
5883
6548
|
required: false,
|
|
5884
|
-
type: '
|
|
6549
|
+
type: 'array',
|
|
5885
6550
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activatedBy,activatedCount,activatedDate,assignedTo,closedBy,closedDate,closedReason,contact,customer,deadline,desc,editedBy,editedDate,feedback,id,keywords,mailto,module,notifyEmail,openedBuild,openedBy,openedDate,pri,product,resolution,resolvedBy,resolvedDate,startedBy,startedDate,status,title,type',
|
|
6551
|
+
style: 'deepObject',
|
|
6552
|
+
explode: true,
|
|
5886
6553
|
},
|
|
5887
6554
|
{
|
|
5888
6555
|
name: 'groupJoin',
|
|
@@ -5951,6 +6618,18 @@ export const BUILTIN_MODULES = [
|
|
|
5951
6618
|
"title"
|
|
5952
6619
|
]
|
|
5953
6620
|
},
|
|
6621
|
+
example: {
|
|
6622
|
+
"product": 1,
|
|
6623
|
+
"module": 1,
|
|
6624
|
+
"title": "电容压力监测灵敏度不够",
|
|
6625
|
+
"type": "code",
|
|
6626
|
+
"desc": "监测灵敏度不够",
|
|
6627
|
+
"assignedTo": "admin",
|
|
6628
|
+
"deadline": "2026-01-10",
|
|
6629
|
+
"openedBuild": [
|
|
6630
|
+
"trunk"
|
|
6631
|
+
]
|
|
6632
|
+
},
|
|
5954
6633
|
},
|
|
5955
6634
|
}, {
|
|
5956
6635
|
name: 'createStory',
|
|
@@ -5996,6 +6675,13 @@ export const BUILTIN_MODULES = [
|
|
|
5996
6675
|
"title"
|
|
5997
6676
|
]
|
|
5998
6677
|
},
|
|
6678
|
+
example: {
|
|
6679
|
+
"productID": 1,
|
|
6680
|
+
"title": "从工单创建的需求",
|
|
6681
|
+
"spec": "工单转需求",
|
|
6682
|
+
"pri": 3,
|
|
6683
|
+
"category": "feature"
|
|
6684
|
+
},
|
|
5999
6685
|
},
|
|
6000
6686
|
}, {
|
|
6001
6687
|
name: 'createBug',
|
|
@@ -6054,6 +6740,17 @@ export const BUILTIN_MODULES = [
|
|
|
6054
6740
|
"openedBuild"
|
|
6055
6741
|
]
|
|
6056
6742
|
},
|
|
6743
|
+
example: {
|
|
6744
|
+
"productID": 1,
|
|
6745
|
+
"title": "从工单创建的Bug",
|
|
6746
|
+
"openedBuild": [
|
|
6747
|
+
"trunk"
|
|
6748
|
+
],
|
|
6749
|
+
"severity": 3,
|
|
6750
|
+
"pri": 3,
|
|
6751
|
+
"type": "codeerror",
|
|
6752
|
+
"steps": "工单转Bug"
|
|
6753
|
+
},
|
|
6057
6754
|
},
|
|
6058
6755
|
}, {
|
|
6059
6756
|
name: 'get',
|
|
@@ -6121,6 +6818,18 @@ export const BUILTIN_MODULES = [
|
|
|
6121
6818
|
}
|
|
6122
6819
|
}
|
|
6123
6820
|
},
|
|
6821
|
+
example: {
|
|
6822
|
+
"product": 1,
|
|
6823
|
+
"module": 1,
|
|
6824
|
+
"title": "电容压力监测灵敏度不够",
|
|
6825
|
+
"type": "code",
|
|
6826
|
+
"desc": "监测灵敏度不够",
|
|
6827
|
+
"assignedTo": "admin",
|
|
6828
|
+
"deadline": "2026-01-10",
|
|
6829
|
+
"openedBuild": [
|
|
6830
|
+
"trunk"
|
|
6831
|
+
]
|
|
6832
|
+
},
|
|
6124
6833
|
},
|
|
6125
6834
|
}, {
|
|
6126
6835
|
name: 'delete',
|
|
@@ -6158,6 +6867,9 @@ export const BUILTIN_MODULES = [
|
|
|
6158
6867
|
}
|
|
6159
6868
|
}
|
|
6160
6869
|
},
|
|
6870
|
+
example: {
|
|
6871
|
+
"assignedTo": "admin"
|
|
6872
|
+
},
|
|
6161
6873
|
},
|
|
6162
6874
|
}, {
|
|
6163
6875
|
name: 'close',
|
|
@@ -6189,6 +6901,9 @@ export const BUILTIN_MODULES = [
|
|
|
6189
6901
|
"comment"
|
|
6190
6902
|
]
|
|
6191
6903
|
},
|
|
6904
|
+
example: {
|
|
6905
|
+
"closedReason": "done"
|
|
6906
|
+
},
|
|
6192
6907
|
},
|
|
6193
6908
|
}
|
|
6194
6909
|
],
|
|
@@ -6285,6 +7000,13 @@ export const BUILTIN_MODULES = [
|
|
|
6285
7000
|
"name"
|
|
6286
7001
|
]
|
|
6287
7002
|
},
|
|
7003
|
+
example: {
|
|
7004
|
+
"productID": 1,
|
|
7005
|
+
"integrated": 0,
|
|
7006
|
+
"children": [],
|
|
7007
|
+
"name": "smart-20260819093823",
|
|
7008
|
+
"desc": "smart-20260819093823"
|
|
7009
|
+
},
|
|
6288
7010
|
},
|
|
6289
7011
|
}, {
|
|
6290
7012
|
name: 'update',
|
|
@@ -6323,6 +7045,11 @@ export const BUILTIN_MODULES = [
|
|
|
6323
7045
|
"children"
|
|
6324
7046
|
]
|
|
6325
7047
|
},
|
|
7048
|
+
example: {
|
|
7049
|
+
"name": "smart-20260819093823-updated",
|
|
7050
|
+
"children": [],
|
|
7051
|
+
"desc": "smart-20260819093823-updated"
|
|
7052
|
+
},
|
|
6326
7053
|
},
|
|
6327
7054
|
}
|
|
6328
7055
|
],
|
|
@@ -6388,8 +7115,10 @@ export const BUILTIN_MODULES = [
|
|
|
6388
7115
|
{
|
|
6389
7116
|
name: 'filters',
|
|
6390
7117
|
required: false,
|
|
6391
|
-
type: '
|
|
7118
|
+
type: 'array',
|
|
6392
7119
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(名称,示例:关键字);system(所属应用,示例:all);id(ID,示例:1);product(所属产品,产品,示例:1);scmPath(源代码地址,示例:关键字);filePath(下载地址,示例:关键字);date(打包日期,示例:2026-01-01);builder(构建者,用户,示例:admin);desc(描述,示例:关键字)',
|
|
7120
|
+
style: 'deepObject',
|
|
7121
|
+
explode: true,
|
|
6393
7122
|
},
|
|
6394
7123
|
{
|
|
6395
7124
|
name: 'groupJoin',
|
|
@@ -6464,6 +7193,17 @@ export const BUILTIN_MODULES = [
|
|
|
6464
7193
|
"date"
|
|
6465
7194
|
]
|
|
6466
7195
|
},
|
|
7196
|
+
example: {
|
|
7197
|
+
"executionID": 3,
|
|
7198
|
+
"product": 1,
|
|
7199
|
+
"name": "v1.0",
|
|
7200
|
+
"system": 1,
|
|
7201
|
+
"builder": "admin",
|
|
7202
|
+
"date": "2026-01-01",
|
|
7203
|
+
"scmPath": "http://test.com/git",
|
|
7204
|
+
"filePath": "http://test.com/download",
|
|
7205
|
+
"desc": "test"
|
|
7206
|
+
},
|
|
6467
7207
|
},
|
|
6468
7208
|
}, {
|
|
6469
7209
|
name: 'update',
|
|
@@ -6530,6 +7270,17 @@ export const BUILTIN_MODULES = [
|
|
|
6530
7270
|
"date"
|
|
6531
7271
|
]
|
|
6532
7272
|
},
|
|
7273
|
+
example: {
|
|
7274
|
+
"execution": 3,
|
|
7275
|
+
"product": 1,
|
|
7276
|
+
"name": "版本v1.0",
|
|
7277
|
+
"system": 1,
|
|
7278
|
+
"builder": "admin",
|
|
7279
|
+
"date": "2026-01-01",
|
|
7280
|
+
"scmPath": "http://test.com/git",
|
|
7281
|
+
"filePath": "http://test.com/download",
|
|
7282
|
+
"desc": "test"
|
|
7283
|
+
},
|
|
6533
7284
|
},
|
|
6534
7285
|
}, {
|
|
6535
7286
|
name: 'delete',
|
|
@@ -6673,6 +7424,20 @@ export const BUILTIN_MODULES = [
|
|
|
6673
7424
|
"end"
|
|
6674
7425
|
]
|
|
6675
7426
|
},
|
|
7427
|
+
example: {
|
|
7428
|
+
"productID": 1,
|
|
7429
|
+
"name": "智能家居V1.0测试单",
|
|
7430
|
+
"build": 1,
|
|
7431
|
+
"execution": 3,
|
|
7432
|
+
"type": [
|
|
7433
|
+
"integrate"
|
|
7434
|
+
],
|
|
7435
|
+
"owner": "admin",
|
|
7436
|
+
"status": "wait",
|
|
7437
|
+
"begin": "2026-01-01",
|
|
7438
|
+
"end": "2026-02-01",
|
|
7439
|
+
"desc": "test"
|
|
7440
|
+
},
|
|
6676
7441
|
},
|
|
6677
7442
|
}, {
|
|
6678
7443
|
name: 'update',
|
|
@@ -6739,6 +7504,19 @@ export const BUILTIN_MODULES = [
|
|
|
6739
7504
|
"end"
|
|
6740
7505
|
]
|
|
6741
7506
|
},
|
|
7507
|
+
example: {
|
|
7508
|
+
"name": "智能家居V1.0测试单",
|
|
7509
|
+
"build": 1,
|
|
7510
|
+
"execution": 3,
|
|
7511
|
+
"type": [
|
|
7512
|
+
"integrate"
|
|
7513
|
+
],
|
|
7514
|
+
"owner": "admin",
|
|
7515
|
+
"status": "wait",
|
|
7516
|
+
"begin": "2026-01-01",
|
|
7517
|
+
"end": "2026-02-01",
|
|
7518
|
+
"desc": "test"
|
|
7519
|
+
},
|
|
6742
7520
|
},
|
|
6743
7521
|
}, {
|
|
6744
7522
|
name: 'delete',
|
|
@@ -6817,8 +7595,10 @@ export const BUILTIN_MODULES = [
|
|
|
6817
7595
|
{
|
|
6818
7596
|
name: 'filters',
|
|
6819
7597
|
required: false,
|
|
6820
|
-
type: '
|
|
7598
|
+
type: 'array',
|
|
6821
7599
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(应用版本号,示例:关键字);branch(平台/分支,示例:all);id(ID,示例:1);build(包含构建,示例:all);status(发布状态,枚举:wait 未开始 | normal 已发布 | fail 发布失败 | terminate 停止维护);date(计划发布日期,示例:2026-01-01);marker(里程碑,枚举:1 是 | 0 否)',
|
|
7600
|
+
style: 'deepObject',
|
|
7601
|
+
explode: true,
|
|
6822
7602
|
},
|
|
6823
7603
|
{
|
|
6824
7604
|
name: 'groupJoin',
|
|
@@ -6886,6 +7666,17 @@ export const BUILTIN_MODULES = [
|
|
|
6886
7666
|
"date"
|
|
6887
7667
|
]
|
|
6888
7668
|
},
|
|
7669
|
+
example: {
|
|
7670
|
+
"productID": 1,
|
|
7671
|
+
"system": 1,
|
|
7672
|
+
"name": "v1",
|
|
7673
|
+
"build": [
|
|
7674
|
+
1
|
|
7675
|
+
],
|
|
7676
|
+
"status": "wait",
|
|
7677
|
+
"date": "2026-02-10",
|
|
7678
|
+
"desc": "release 1.0"
|
|
7679
|
+
},
|
|
6889
7680
|
},
|
|
6890
7681
|
}, {
|
|
6891
7682
|
name: 'update',
|
|
@@ -6939,6 +7730,16 @@ export const BUILTIN_MODULES = [
|
|
|
6939
7730
|
"date"
|
|
6940
7731
|
]
|
|
6941
7732
|
},
|
|
7733
|
+
example: {
|
|
7734
|
+
"system": 1,
|
|
7735
|
+
"name": "v1.0",
|
|
7736
|
+
"build": [
|
|
7737
|
+
1
|
|
7738
|
+
],
|
|
7739
|
+
"status": "wait",
|
|
7740
|
+
"date": "2026-02-10",
|
|
7741
|
+
"desc": "release 1.0"
|
|
7742
|
+
},
|
|
6942
7743
|
},
|
|
6943
7744
|
}, {
|
|
6944
7745
|
name: 'delete',
|
|
@@ -6992,6 +7793,11 @@ export const BUILTIN_MODULES = [
|
|
|
6992
7793
|
"objectID"
|
|
6993
7794
|
]
|
|
6994
7795
|
},
|
|
7796
|
+
example: {
|
|
7797
|
+
"file": "/tmp/zentao-apidoc-test.txt",
|
|
7798
|
+
"objectType": "story",
|
|
7799
|
+
"objectID": 1
|
|
7800
|
+
},
|
|
6995
7801
|
},
|
|
6996
7802
|
}, {
|
|
6997
7803
|
name: 'update',
|
|
@@ -7018,6 +7824,9 @@ export const BUILTIN_MODULES = [
|
|
|
7018
7824
|
"fileName"
|
|
7019
7825
|
]
|
|
7020
7826
|
},
|
|
7827
|
+
example: {
|
|
7828
|
+
"fileName": "test2.txt"
|
|
7829
|
+
},
|
|
7021
7830
|
},
|
|
7022
7831
|
}, {
|
|
7023
7832
|
name: 'delete',
|
|
@@ -7077,6 +7886,9 @@ export const BUILTIN_MODULES = [
|
|
|
7077
7886
|
"name"
|
|
7078
7887
|
]
|
|
7079
7888
|
},
|
|
7889
|
+
example: {
|
|
7890
|
+
"name": "test"
|
|
7891
|
+
},
|
|
7080
7892
|
},
|
|
7081
7893
|
}, {
|
|
7082
7894
|
name: 'update',
|
|
@@ -7103,6 +7915,9 @@ export const BUILTIN_MODULES = [
|
|
|
7103
7915
|
"name"
|
|
7104
7916
|
]
|
|
7105
7917
|
},
|
|
7918
|
+
example: {
|
|
7919
|
+
"name": "contract1"
|
|
7920
|
+
},
|
|
7106
7921
|
},
|
|
7107
7922
|
}, {
|
|
7108
7923
|
name: 'delete',
|
|
@@ -7317,6 +8132,9 @@ export const BUILTIN_MODULES = [
|
|
|
7317
8132
|
"name"
|
|
7318
8133
|
]
|
|
7319
8134
|
},
|
|
8135
|
+
example: {
|
|
8136
|
+
"name": "我的文档空间"
|
|
8137
|
+
},
|
|
7320
8138
|
},
|
|
7321
8139
|
}, {
|
|
7322
8140
|
name: 'createTeamSpace',
|
|
@@ -7340,6 +8158,9 @@ export const BUILTIN_MODULES = [
|
|
|
7340
8158
|
"name"
|
|
7341
8159
|
]
|
|
7342
8160
|
},
|
|
8161
|
+
example: {
|
|
8162
|
+
"name": "团队文档空间"
|
|
8163
|
+
},
|
|
7343
8164
|
},
|
|
7344
8165
|
}, {
|
|
7345
8166
|
name: 'createMyLib',
|
|
@@ -7366,6 +8187,9 @@ export const BUILTIN_MODULES = [
|
|
|
7366
8187
|
"name"
|
|
7367
8188
|
]
|
|
7368
8189
|
},
|
|
8190
|
+
example: {
|
|
8191
|
+
"name": "新增我的文档库"
|
|
8192
|
+
},
|
|
7369
8193
|
},
|
|
7370
8194
|
}, {
|
|
7371
8195
|
name: 'createTeamLib',
|
|
@@ -7410,6 +8234,16 @@ export const BUILTIN_MODULES = [
|
|
|
7410
8234
|
"name"
|
|
7411
8235
|
]
|
|
7412
8236
|
},
|
|
8237
|
+
example: {
|
|
8238
|
+
"name": "新增团队文档库",
|
|
8239
|
+
"acl": "open",
|
|
8240
|
+
"groups": [
|
|
8241
|
+
1
|
|
8242
|
+
],
|
|
8243
|
+
"users": [
|
|
8244
|
+
"admin"
|
|
8245
|
+
]
|
|
8246
|
+
},
|
|
7413
8247
|
},
|
|
7414
8248
|
}, {
|
|
7415
8249
|
name: 'createProductLib',
|
|
@@ -7454,6 +8288,16 @@ export const BUILTIN_MODULES = [
|
|
|
7454
8288
|
"name"
|
|
7455
8289
|
]
|
|
7456
8290
|
},
|
|
8291
|
+
example: {
|
|
8292
|
+
"name": "新增产品文档库",
|
|
8293
|
+
"acl": "default",
|
|
8294
|
+
"groups": [
|
|
8295
|
+
1
|
|
8296
|
+
],
|
|
8297
|
+
"users": [
|
|
8298
|
+
"admin"
|
|
8299
|
+
]
|
|
8300
|
+
},
|
|
7457
8301
|
},
|
|
7458
8302
|
}, {
|
|
7459
8303
|
name: 'createProjectLib',
|
|
@@ -7498,6 +8342,16 @@ export const BUILTIN_MODULES = [
|
|
|
7498
8342
|
"name"
|
|
7499
8343
|
]
|
|
7500
8344
|
},
|
|
8345
|
+
example: {
|
|
8346
|
+
"name": "新增项目文档库",
|
|
8347
|
+
"acl": "default",
|
|
8348
|
+
"groups": [
|
|
8349
|
+
1
|
|
8350
|
+
],
|
|
8351
|
+
"users": [
|
|
8352
|
+
"admin"
|
|
8353
|
+
]
|
|
8354
|
+
},
|
|
7501
8355
|
},
|
|
7502
8356
|
}, {
|
|
7503
8357
|
name: 'createMyDoc',
|
|
@@ -7539,6 +8393,12 @@ export const BUILTIN_MODULES = [
|
|
|
7539
8393
|
"content"
|
|
7540
8394
|
]
|
|
7541
8395
|
},
|
|
8396
|
+
example: {
|
|
8397
|
+
"moduleID": 1,
|
|
8398
|
+
"title": "演示文档",
|
|
8399
|
+
"content": "# 演示文档\n\n**这是文章正文**",
|
|
8400
|
+
"contentType": "doc"
|
|
8401
|
+
},
|
|
7542
8402
|
},
|
|
7543
8403
|
}, {
|
|
7544
8404
|
name: 'createTeamDoc',
|
|
@@ -7580,6 +8440,12 @@ export const BUILTIN_MODULES = [
|
|
|
7580
8440
|
"content"
|
|
7581
8441
|
]
|
|
7582
8442
|
},
|
|
8443
|
+
example: {
|
|
8444
|
+
"moduleID": 1,
|
|
8445
|
+
"title": "演示文档",
|
|
8446
|
+
"content": "# 演示文档\n\n**这是文章正文**",
|
|
8447
|
+
"contentType": "doc"
|
|
8448
|
+
},
|
|
7583
8449
|
},
|
|
7584
8450
|
}, {
|
|
7585
8451
|
name: 'createProductDoc',
|
|
@@ -7621,6 +8487,12 @@ export const BUILTIN_MODULES = [
|
|
|
7621
8487
|
"content"
|
|
7622
8488
|
]
|
|
7623
8489
|
},
|
|
8490
|
+
example: {
|
|
8491
|
+
"moduleID": 1,
|
|
8492
|
+
"title": "演示文档",
|
|
8493
|
+
"content": "# 演示文档\n\n**这是文章正文**",
|
|
8494
|
+
"contentType": "doc"
|
|
8495
|
+
},
|
|
7624
8496
|
},
|
|
7625
8497
|
}, {
|
|
7626
8498
|
name: 'createProjectDoc',
|
|
@@ -7662,6 +8534,12 @@ export const BUILTIN_MODULES = [
|
|
|
7662
8534
|
"content"
|
|
7663
8535
|
]
|
|
7664
8536
|
},
|
|
8537
|
+
example: {
|
|
8538
|
+
"moduleID": 1,
|
|
8539
|
+
"title": "演示文档",
|
|
8540
|
+
"content": "# 演示文档\n\n**这是文章正文**",
|
|
8541
|
+
"contentType": "doc"
|
|
8542
|
+
},
|
|
7665
8543
|
},
|
|
7666
8544
|
}, {
|
|
7667
8545
|
name: 'createMyModule',
|
|
@@ -7694,6 +8572,10 @@ export const BUILTIN_MODULES = [
|
|
|
7694
8572
|
"name"
|
|
7695
8573
|
]
|
|
7696
8574
|
},
|
|
8575
|
+
example: {
|
|
8576
|
+
"name": "CMMI资料",
|
|
8577
|
+
"parentID": "0"
|
|
8578
|
+
},
|
|
7697
8579
|
},
|
|
7698
8580
|
}, {
|
|
7699
8581
|
name: 'createTeamModule',
|
|
@@ -7726,6 +8608,10 @@ export const BUILTIN_MODULES = [
|
|
|
7726
8608
|
"name"
|
|
7727
8609
|
]
|
|
7728
8610
|
},
|
|
8611
|
+
example: {
|
|
8612
|
+
"name": "CMMI资料",
|
|
8613
|
+
"parentID": "0"
|
|
8614
|
+
},
|
|
7729
8615
|
},
|
|
7730
8616
|
}, {
|
|
7731
8617
|
name: 'createProductModule',
|
|
@@ -7758,6 +8644,10 @@ export const BUILTIN_MODULES = [
|
|
|
7758
8644
|
"name"
|
|
7759
8645
|
]
|
|
7760
8646
|
},
|
|
8647
|
+
example: {
|
|
8648
|
+
"name": "CMMI资料",
|
|
8649
|
+
"parentID": "0"
|
|
8650
|
+
},
|
|
7761
8651
|
},
|
|
7762
8652
|
}, {
|
|
7763
8653
|
name: 'createProjectModule',
|
|
@@ -7790,6 +8680,10 @@ export const BUILTIN_MODULES = [
|
|
|
7790
8680
|
"name"
|
|
7791
8681
|
]
|
|
7792
8682
|
},
|
|
8683
|
+
example: {
|
|
8684
|
+
"name": "CMMI资料",
|
|
8685
|
+
"parentID": "0"
|
|
8686
|
+
},
|
|
7793
8687
|
},
|
|
7794
8688
|
}, {
|
|
7795
8689
|
name: 'getSpace',
|
|
@@ -7849,6 +8743,9 @@ export const BUILTIN_MODULES = [
|
|
|
7849
8743
|
"name"
|
|
7850
8744
|
]
|
|
7851
8745
|
},
|
|
8746
|
+
example: {
|
|
8747
|
+
"name": "新的空间"
|
|
8748
|
+
},
|
|
7852
8749
|
},
|
|
7853
8750
|
}, {
|
|
7854
8751
|
name: 'updateLib',
|
|
@@ -7893,6 +8790,16 @@ export const BUILTIN_MODULES = [
|
|
|
7893
8790
|
"name"
|
|
7894
8791
|
]
|
|
7895
8792
|
},
|
|
8793
|
+
example: {
|
|
8794
|
+
"name": "新文档库",
|
|
8795
|
+
"acl": "default",
|
|
8796
|
+
"groups": [
|
|
8797
|
+
1
|
|
8798
|
+
],
|
|
8799
|
+
"users": [
|
|
8800
|
+
"admin"
|
|
8801
|
+
]
|
|
8802
|
+
},
|
|
7896
8803
|
},
|
|
7897
8804
|
}, {
|
|
7898
8805
|
name: 'update',
|
|
@@ -7933,6 +8840,12 @@ export const BUILTIN_MODULES = [
|
|
|
7933
8840
|
"content"
|
|
7934
8841
|
]
|
|
7935
8842
|
},
|
|
8843
|
+
example: {
|
|
8844
|
+
"moduleID": 1,
|
|
8845
|
+
"title": "API修改演示文档",
|
|
8846
|
+
"content": "**这是修改后的文章正文**",
|
|
8847
|
+
"contentType": "doc"
|
|
8848
|
+
},
|
|
7936
8849
|
},
|
|
7937
8850
|
}, {
|
|
7938
8851
|
name: 'updateModule',
|
|
@@ -7959,6 +8872,9 @@ export const BUILTIN_MODULES = [
|
|
|
7959
8872
|
"name"
|
|
7960
8873
|
]
|
|
7961
8874
|
},
|
|
8875
|
+
example: {
|
|
8876
|
+
"name": "文档目录1"
|
|
8877
|
+
},
|
|
7962
8878
|
},
|
|
7963
8879
|
}, {
|
|
7964
8880
|
name: 'deleteSpace',
|
|
@@ -8061,6 +8977,15 @@ export const BUILTIN_MODULES = [
|
|
|
8061
8977
|
"type"
|
|
8062
8978
|
]
|
|
8063
8979
|
},
|
|
8980
|
+
example: {
|
|
8981
|
+
"date": "2026-12-10",
|
|
8982
|
+
"type": "bug",
|
|
8983
|
+
"objectID": 1,
|
|
8984
|
+
"begin": "0900",
|
|
8985
|
+
"end": "0930",
|
|
8986
|
+
"assignedTo": "admin",
|
|
8987
|
+
"desc": "审批项目预算详情"
|
|
8988
|
+
},
|
|
8064
8989
|
},
|
|
8065
8990
|
}, {
|
|
8066
8991
|
name: 'update',
|
|
@@ -8117,6 +9042,15 @@ export const BUILTIN_MODULES = [
|
|
|
8117
9042
|
"type"
|
|
8118
9043
|
]
|
|
8119
9044
|
},
|
|
9045
|
+
example: {
|
|
9046
|
+
"date": "2026-12-10",
|
|
9047
|
+
"type": "bug",
|
|
9048
|
+
"objectID": 1,
|
|
9049
|
+
"begin": "0900",
|
|
9050
|
+
"end": "0930",
|
|
9051
|
+
"assignedTo": "admin",
|
|
9052
|
+
"desc": "审批项目预算详情"
|
|
9053
|
+
},
|
|
8120
9054
|
},
|
|
8121
9055
|
}, {
|
|
8122
9056
|
name: 'delete',
|
|
@@ -8236,8 +9170,10 @@ export const BUILTIN_MODULES = [
|
|
|
8236
9170
|
{
|
|
8237
9171
|
name: 'filters',
|
|
8238
9172
|
required: false,
|
|
8239
|
-
type: '
|
|
9173
|
+
type: 'array',
|
|
8240
9174
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:name(任务名称,示例:关键字);keywords(关键词,示例:关键字);id(编号,示例:1);status(任务状态,枚举:wait 未开始 | doing 进行中 | done 已完成 | pause 已暂停 | cancel 已取消 | closed 已关闭);desc(任务描述,示例:关键字);assignedTo(指派给,用户,示例:admin);pri(优先级,枚举:1 | 2 | 3 | 4);project(所属项目,示例:all);execution(所属执行,示例:all);module(所属模块,示例:all);estimate(最初预计,示例:关键字);left(预计剩余,示例:关键字);consumed(总计消耗,示例:关键字);type(任务类型,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);story(相关用户故事,示例:all);fromBug(来源Bug编号,枚举:design 设计 | devel 开发 | request 需求 | test 测试 | study 研究 | discuss 讨论 | ui 界面 | affair 事务 | misc 其他);closedReason(关闭原因,枚举:done 已完成 | cancel 已取消);openedBy(由谁创建,用户,示例:admin);finishedBy(由谁完成,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);canceledBy(由谁取消,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedDate(创建日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);estStarted(预计开始,示例:2026-01-01);realStarted(实际开始,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);finishedDate(实际完成,示例:2026-01-01);closedDate(关闭时间,示例:2026-01-01);canceledDate(取消时间,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
9175
|
+
style: 'deepObject',
|
|
9176
|
+
explode: true,
|
|
8241
9177
|
},
|
|
8242
9178
|
{
|
|
8243
9179
|
name: 'groupJoin',
|
|
@@ -8305,8 +9241,10 @@ export const BUILTIN_MODULES = [
|
|
|
8305
9241
|
{
|
|
8306
9242
|
name: 'filters',
|
|
8307
9243
|
required: false,
|
|
8308
|
-
type: '
|
|
9244
|
+
type: 'array',
|
|
8309
9245
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(Bug标题,示例:关键字);module(所属模块,模块,示例:0);keywords(关键词,示例:关键字);steps(重现步骤,示例:关键字);assignedTo(指派给,用户,示例:admin);resolvedBy(解决者,用户,示例:admin);status(Bug状态,枚举:active 激活 | resolved 已解决 | closed 已关闭);confirmed(是否确认,枚举:1 已确认 | 0 未确认);story(相关需求,示例:关键字);project(所属项目,示例:all);product(所属产品,示例:all);branch(branch,示例:all);plan(所属计划,示例:all);id(Bug编号,示例:1);execution(所属执行,执行,示例:3);severity(严重程度,枚举:1 | 2 | 3 | 4);pri(优先级,枚举:1 | 2 | 3 | 4);type(Bug类型,枚举:codeerror 代码错误 | config 配置相关 | install 安装部署 | security 安全相关 | performance 性能问题 | standard 标准规范 | automation 测试脚本 | designdefect 设计缺陷 | codeimprovement 代码改进 | others 其他);os(操作系统,枚举:all 全部 | windows Windows | win11 Windows 11 | win10 Windows 10 | win8 Windows 8 | win7 Windows 7 | winxp Windows XP | osx Mac OS | android Android | ios IOS | linux Linux | ubuntu Ubuntu | chromeos Chrome OS | fedora Fedora | unix Unix | others 其他);browser(浏览器,枚举:all 全部 | chrome Chrome | edge Edge | ie IE系列 | ie11 IE11 | ie10 IE10 | ie9 IE9 | ie8 IE8 | firefox firefox系列 | opera Opera系列 | safari | 360 360浏览器 | qq QQ浏览器 | other 其他);resolution(解决方案,枚举:bydesign 设计如此 | duplicate 重复Bug | external 外部原因 | fixed 已解决 | notrepro 无法重现 | postponed 延期处理 | willnotfix 不予解决 | tostory 转为用户故事);activatedCount(激活次数,示例:关键字);toTask(转任务,示例:关键字);toStory(转用户故事,示例:关键字);openedBy(由谁创建,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(修改者,用户,示例:admin);mailto(抄送给,用户,示例:admin);openedBuild(影响版本,示例:builds);resolvedBuild(解决版本,示例:builds);openedDate(创建日期,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);resolvedDate(解决日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);deadline(截止日期,示例:2026-01-01);activatedDate(激活时间,示例:2026-01-01)',
|
|
9246
|
+
style: 'deepObject',
|
|
9247
|
+
explode: true,
|
|
8310
9248
|
},
|
|
8311
9249
|
{
|
|
8312
9250
|
name: 'groupJoin',
|
|
@@ -8372,8 +9310,10 @@ export const BUILTIN_MODULES = [
|
|
|
8372
9310
|
{
|
|
8373
9311
|
name: 'filters',
|
|
8374
9312
|
required: false,
|
|
8375
|
-
type: '
|
|
9313
|
+
type: 'array',
|
|
8376
9314
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
9315
|
+
style: 'deepObject',
|
|
9316
|
+
explode: true,
|
|
8377
9317
|
},
|
|
8378
9318
|
{
|
|
8379
9319
|
name: 'groupJoin',
|
|
@@ -8439,8 +9379,10 @@ export const BUILTIN_MODULES = [
|
|
|
8439
9379
|
{
|
|
8440
9380
|
name: 'filters',
|
|
8441
9381
|
required: false,
|
|
8442
|
-
type: '
|
|
9382
|
+
type: 'array',
|
|
8443
9383
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
9384
|
+
style: 'deepObject',
|
|
9385
|
+
explode: true,
|
|
8444
9386
|
},
|
|
8445
9387
|
{
|
|
8446
9388
|
name: 'groupJoin',
|
|
@@ -8506,8 +9448,10 @@ export const BUILTIN_MODULES = [
|
|
|
8506
9448
|
{
|
|
8507
9449
|
name: 'filters',
|
|
8508
9450
|
required: false,
|
|
8509
|
-
type: '
|
|
9451
|
+
type: 'array',
|
|
8510
9452
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(需求名称,示例:关键字);id(编号,示例:1);keywords(关键词,示例:关键字);status(当前状态,枚举:draft 草稿 | reviewing 评审中 | active 激活 | changing 变更中 | closed 已关闭);pri(优先级,枚举:1 | 2 | 3 | 4);module(所属模块,示例:all);stage(所处阶段,枚举:wait 未开始 | planned 已计划 | projected 研发立项 | designing 设计中 | designed 设计完毕 | developing 研发中 | developed 研发完毕 | testing 测试中 | tested 测试完毕 | verified 已验收 | rejected 验收失败 | delivering 交付中 | delivered 已交付 | released 已发布 | closed 已关闭);product(所属产品,示例:all);branch(branch,示例:all);grade(需求层级,示例:all);plan(所属计划,示例:all);estimate(预计小时,示例:关键字);source(来源,枚举:customer 客户 | user 用户 | po 产品经理 | market 市场 | service 客服 | operation 运营 | support 技术支持 | competitor 竞争对手 | partner 合作伙伴 | dev 开发人员 | tester 测试人员 | bug Bug | forum 论坛 | other 其他);sourceNote(来源备注,示例:关键字);fromBug(来源Bug,示例:关键字);category(类别,枚举:feature 功能 | interface 接口 | performance 性能 | safe 安全 | experience 体验 | improve 改进 | other 其他);openedBy(由谁创建,用户,示例:admin);reviewedBy(已评审人,用户,示例:admin);result(评审结果,枚举:pass 确认通过 | revert 撤销变更 | clarify 有待明确 | reject 拒绝);assignedTo(指派给,用户,示例:admin);closedBy(由谁关闭,用户,示例:admin);lastEditedBy(最后修改,用户,示例:admin);mailto(抄送给,用户,示例:admin);closedReason(关闭原因,枚举:done 已完成 | subdivided 已拆分 | duplicate 重复 | postponed 延期 | willnotdo 不做 | cancel 已取消 | bydesign 设计如此);version(版本号,示例:关键字);openedDate(创建日期,示例:2026-01-01);reviewedDate(评审时间,示例:2026-01-01);assignedDate(指派日期,示例:2026-01-01);closedDate(关闭日期,示例:2026-01-01);lastEditedDate(最后修改日期,示例:2026-01-01);activatedDate(激活日期,示例:2026-01-01)',
|
|
9453
|
+
style: 'deepObject',
|
|
9454
|
+
explode: true,
|
|
8511
9455
|
},
|
|
8512
9456
|
{
|
|
8513
9457
|
name: 'groupJoin',
|
|
@@ -8672,8 +9616,10 @@ export const BUILTIN_MODULES = [
|
|
|
8672
9616
|
{
|
|
8673
9617
|
name: 'filters',
|
|
8674
9618
|
required: false,
|
|
8675
|
-
type: '
|
|
9619
|
+
type: 'array',
|
|
8676
9620
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activatedBy,activatedDate,assignedTo,closedBy,closedDate,closedReason,desc,feedbackBy,id,keywords,mailto,module,notifyEmail,openedBy,openedDate,pri,processedBy,processedDate,product,public,reviewedBy,solution,source,status,title,type',
|
|
9621
|
+
style: 'deepObject',
|
|
9622
|
+
explode: true,
|
|
8677
9623
|
},
|
|
8678
9624
|
{
|
|
8679
9625
|
name: 'groupJoin',
|
|
@@ -8739,8 +9685,10 @@ export const BUILTIN_MODULES = [
|
|
|
8739
9685
|
{
|
|
8740
9686
|
name: 'filters',
|
|
8741
9687
|
required: false,
|
|
8742
|
-
type: '
|
|
9688
|
+
type: 'array',
|
|
8743
9689
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activatedBy,activatedCount,activatedDate,assignedTo,closedBy,closedDate,closedReason,contact,customer,deadline,desc,editedBy,editedDate,feedback,id,keywords,mailto,module,notifyEmail,openedBuild,openedBy,openedDate,pri,product,resolution,resolvedBy,resolvedDate,startedBy,startedDate,status,title,type',
|
|
9690
|
+
style: 'deepObject',
|
|
9691
|
+
explode: true,
|
|
8744
9692
|
},
|
|
8745
9693
|
{
|
|
8746
9694
|
name: 'groupJoin',
|
|
@@ -8806,8 +9754,10 @@ export const BUILTIN_MODULES = [
|
|
|
8806
9754
|
{
|
|
8807
9755
|
name: 'filters',
|
|
8808
9756
|
required: false,
|
|
8809
|
-
type: '
|
|
9757
|
+
type: 'array',
|
|
8810
9758
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:title(用例名称,示例:关键字);story(关联需求,示例:all);id(用例编号,示例:1);keywords(关键词,示例:关键字);lastEditedBy(修改者,用户,示例:admin);type(用例类型,枚举:unit 单元测试 | interface 接口测试 | feature 功能测试 | install 安装部署 | config 配置相关 | performance 性能测试 | security 安全相关 | other 其他);auto(自动化,枚举:auto 是 | no 否);openedBy(由谁创建,用户,示例:admin);status(用例状态,枚举:wait 待评审 | normal 正常 | blocked 被阻塞 | investigate 研究中);product(所属产品,示例:all);branch(branch,示例:all);stage(适用环节,枚举:unittest 单元测试环节 | feature 功能测试环节 | intergrate 集成测试环节 | system 系统测试环节 | smoke 冒烟测试环节 | bvt 版本验证环节);module(所属模块,模块,示例:0);pri(优先级,枚举:3 | 1 | 2 | 4);lib(所属库,示例:all);lastRunner(执行人,用户,示例:admin);lastRunResult(结果,枚举:pass 通过 | fail 失败 | blocked 阻塞 | null 未执行);lastRunDate(执行时间,示例:2026-01-01);openedDate(创建日期,示例:2026-01-01);lastEditedDate(修改日期,示例:2026-01-01);scene(所属场景,示例:all)',
|
|
9759
|
+
style: 'deepObject',
|
|
9760
|
+
explode: true,
|
|
8811
9761
|
},
|
|
8812
9762
|
{
|
|
8813
9763
|
name: 'groupJoin',
|
|
@@ -8979,8 +9929,10 @@ export const BUILTIN_MODULES = [
|
|
|
8979
9929
|
{
|
|
8980
9930
|
name: 'filters',
|
|
8981
9931
|
required: false,
|
|
8982
|
-
type: '
|
|
9932
|
+
type: 'array',
|
|
8983
9933
|
description: '搜索条件数组,每项包含 field/operator/value/join/group;field 必须是该接口支持的搜索字段,operator 使用该接口搜索配置支持的操作符。支持搜索字段:activateBy,actualClosedDate,assignedTo,cancelBy,category,createdBy,createdDate,editedBy,editedDate,hangupBy,id,identifiedDate,impact,name,plannedClosedDate,prevention,pri,probability,project,rate,remedy,resolution,resolvedBy,source,status,strategy,trackedBy',
|
|
9934
|
+
style: 'deepObject',
|
|
9935
|
+
explode: true,
|
|
8984
9936
|
},
|
|
8985
9937
|
{
|
|
8986
9938
|
name: 'groupJoin',
|