monitor_add
Set up automated defect monitoring with periodic polling and alerts for new or overdue defects, targeting a specific assignee or defaulting to the current user.
Instructions
新增一个缺陷监控任务(自动定时轮询 + 提醒)。
负责人不填时默认监控"我"(默认用户 郑自航/1001967);也可指定: fuzzy_responser(userId/姓名/账号,查别人),或 dev_responser_id / test_responser_id(用 get_users 查 userId)
new_defect_alert: 是否提醒新增缺陷
timeout_alert / timeout_hours: 是否提醒处理超时,超过 N 小时未处理(默认 2 小时)
首次执行为基线检查(只记录不提醒),之后开始提醒。
提醒通过 webhook(钉钉/企微/飞书)或邮件发送,未配置时仅打印日志。 建议先 monitor_run_once 建立基线。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| status | No | 1,2,3,4,5,6 | |
| timeout_alert | No | ||
| timeout_hours | No | ||
| fuzzy_responser | No | ||
| dev_responser_id | No | ||
| interval_minutes | No | ||
| new_defect_alert | No | ||
| test_responser_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||