tb-update-task-status
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese更新任务状态
Update Task Status
执行步骤
Execution Steps
- 读取 常用项目,让用户选择项目
.teambition.md - 执行 获取任务列表
node scripts/tb-api.mjs get-project-tasks --projectId <ID> - 让用户选择要更新的任务
- 执行 获取状态列表
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID> - 让用户选择目标状态
- 执行:
bash
node scripts/tb-api.mjs update-task-status --taskId <ID> --projectId <ID> --statusId <ID>- 更新 最近任务记录
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- 不要自动替用户选择状态
- Read common projects from and let the user select a project
.teambition.md - Run to get the task list
node scripts/tb-api.mjs get-project-tasks --projectId <ID> - Let the user select the task to update
- Run to get the status list
node scripts/tb-api.mjs get-taskflow-statuses --projectId <ID> - Let the user select the target status
- Run:
bash
node scripts/tb-api.mjs update-task-status --taskId <ID> --projectId <ID> --statusId <ID>- Update the recent task records in
.teambition.md
Rules:
- If the host supports interactive selection controls, use interactive selection
- If the host does not support interactive selection controls, ask the user directly in the conversation
- Do not automatically select the status for the user