Files
QTImport/config/config.example.json
T
chenshoulin 58850314cf 初始提交:QuickTeam 工单接口导入工具
用「WCF + 通用存储过程网关」接口替代 Selenium(D://Learning//Python//工单自动化)导入工单:
单 Sprint 12 个项目 175s 跑完(旧方案 25~35 分钟),失败可断点续跑且不重复建单。

- 分层:transport(HTTP/协议)/ api(存储过程语义)/ domain(纯规则)/
  workflow(阶段编排)/ store(SQLite 台账)/ report / CLI
- 幂等:台账驱动断点续跑;dry-run 与跳过行不污染进度;--rollback-on-fail 清理半成品
- 命令:plan / apply / report / status,真实写入需 --yes
- tools:只读探针、存储过程源码导出(sp_helptext)、导入诊断
- docs:调研与设计文档(含联调踩到的 5 个坑)+ 6 个关键存储过程源码

实测:Sprint 2026 Sprint 10 的 12 个项目全部完成建单→导入→确认→推送 TFS,
工单 225134–225145,35 个功能模块,重跑 plan 全部 skip-pushed。69 个单测通过。
2026-11-05 19:14:25 +08:00

28 lines
650 B
JSON

{
"base_url": "http://192.168.1.213",
"username": "chenshoulin@goldenstand.cn",
"password": "CHANGE_ME",
"timeout": 60,
"team_name": "当前项目",
"work_dir": "D:/Work/QuickTeam/2026 Sprint 10",
"sprint": "2026 Sprint 10",
"start_time": "2026-10-08",
"end_time": "2026-10-31",
"content_desc": "需求开发测试",
"service_type": "DevelopService",
"belong_team": "资管投资人事业部",
"evaluator": "",
"technical_leader": "",
"customer_leader": "",
"tfs_project": "Tools_Dev",
"tfs_team": "DataTechnologies",
"area_path": "",
"iteration_path": "",
"workers": 2,
"db_path": "state/qtimport.db"
}