tb-link-task
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese关联任务
Associate Tasks
执行步骤
Execution Steps
- 读取 常用项目
.teambition.md - 让用户选择源任务所在项目,获取任务列表后选择源任务
- 让用户选择目标任务所在项目,获取任务列表后选择目标任务
- 执行:
bash
node scripts/tb-api.mjs link-task --taskId <源ID> --linkedTaskId <目标ID> --linkedProjectId <目标项目ID>- 更新 最近任务记录
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- 必须先明确源任务和目标任务,不要自动关联
- Read common projects from
.teambition.md - Ask the user to select the project where the source task resides, get the task list, then select the source task
- Ask the user to select the project where the target task resides, get the task list, then select the target task
- Execute:
bash
node scripts/tb-api.mjs link-task --taskId <源ID> --linkedTaskId <目标ID> --linkedProjectId <目标项目ID>- Update 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
- The source task and target task must be confirmed first, do not perform automatic association