G41_TAPD_BUG_SYNC/需求文档.md
2025-12-15 18:52:51 +08:00

55 lines
1.5 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# **Debug阶段自动开单工具需求**
## **一、功能概述**
策划在腾讯智能表格填写bug信息工具定时扫描并自动在TAPD创建bug单实现表格到TAPD的单向同步。
## **二、表格字段设计**
| **列** | **说明** | **备注** |
| -------- | -------- | ---------------- |
| 标题 | 必填 | 同步为TAPD标题 |
| 详细描述 | 必填 | |
| 优先级 | 必填 | 单选 |
| 严重程度 | 必填 | 单选 |
| 处理人 | 必填 | |
| 验证人 | 必填 | |
| 发现版本 | 必填 | |
| 模块 | 必填 | |
| 开单状态 | 工具回写 | ✅成功 / ❌失败 |
| TAPD单号 | 工具回写 | 可点击跳转 |
| bug状态 | 工具回写 | 同步TAPD当前状态 |
##
## **三、处理逻辑**
1. 定时扫描"开单状态"为空的行
2. 校验必填项是否完整
3. 调用TAPD API创建bug单
4. 回写结果到表格
##
## **四、异常处理**
● 开单成功:开单状态列打✅,回写单号和状态
● 开单失败:开单状态列打❌,企业微信推送报错信息给相关人员
##
## **五、运行机制**
● 轮询频率建议5分钟一次可配置
● bug状态同步频率建议15分钟一次可配置
#