tb-update-task-executor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese分配任务负责人
Assign Task Assignee
执行步骤
Execution Steps
- 读取 常用项目和最近任务
.teambition.md - 让用户选择项目,获取任务列表后选择任务
- 执行 获取成员
node scripts/tb-api.mjs get-project-members --projectId <ID> - 让用户选择负责人
- 执行:
bash
node scripts/tb-api.mjs update-task-executor --taskId <ID> --executorId <userId>- 更新 最近任务记录
.teambition.md
规则:
- 如果宿主支持交互选择控件,则使用交互选择
- 如果宿主不支持交互选择控件,则直接在对话中询问用户
- Read common projects and recent tasks from
.teambition.md - Let the user select a project, obtain the task list and then select a task
- Execute to get project members
node scripts/tb-api.mjs get-project-members --projectId <ID> - Let the user select the person in charge
- Execute:
bash
node scripts/tb-api.mjs update-task-executor --taskId <ID> --executorId <userId>- 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