create-task

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Create Task

创建任务

Create a new TODO or initiative.
创建新的TODO或倡议。

Instructions

操作说明

TODO

TODO

Call
create-todo
. Use
initiativeId
to link via
PART_OF
relation:
json
create-todo({
  "title": "Implement HubSpot OAuth callback handler",
  "description": "Handle auth code exchange and token persistence",
  "status": "Planned",
  "workspaceId": "<workspaceId>",
  "initiativeId": "<initiativeId>"
})
For completed implementation write-back, create the TODO then add a comment with what changed:
json
create-todo({
  "title": "Implemented HubSpot lead sync auth + sync",
  "status": "Completed",
  "workspaceId": "<workspaceId>",
  "initiativeId": "<initiativeId>"
})
json
add-task-comment({
  "taskId": "<newTaskId>",
  "comment": "**Changes**\n- What changed: Built OAuth callback flow, sync worker, and retry handling\n- Why: Enable stable end-to-end HubSpot lead sync flow"
})
调用
create-todo
。使用
initiativeId
通过
PART_OF
关联进行链接:
json
create-todo({
  "title": "Implement HubSpot OAuth callback handler",
  "description": "Handle auth code exchange and token persistence",
  "status": "Planned",
  "workspaceId": "<workspaceId>",
  "initiativeId": "<initiativeId>"
})
若要回传已完成的实现内容,先创建TODO,再添加一条说明变更内容的评论:
json
create-todo({
  "title": "Implemented HubSpot lead sync auth + sync",
  "status": "Completed",
  "workspaceId": "<workspaceId>",
  "initiativeId": "<initiativeId>"
})
json
add-task-comment({
  "taskId": "<newTaskId>",
  "comment": "**Changes**\n- What changed: Built OAuth callback flow, sync worker, and retry handling\n- Why: Enable stable end-to-end HubSpot lead sync flow"
})

Initiative

倡议

Call
create-initiative
. Supports
parentInitiativeId
and
taxonomyLabelIds
:
json
create-initiative({
  "title": "Build HubSpot lead sync integration",
  "description": "OAuth, sync jobs, task mapping, and observability",
  "status": "Planned",
  "workspaceId": "<workspaceId>",
  "assigneeIds": ["<userId>"],
  "teamIds": ["<teamId>"],
  "parentInitiativeId": "<parentInitiativeId>",
  "taxonomyLabelIds": ["<labelId>"]
})
调用
create-initiative
。支持
parentInitiativeId
taxonomyLabelIds
参数:
json
create-initiative({
  "title": "Build HubSpot lead sync integration",
  "description": "OAuth, sync jobs, task mapping, and observability",
  "status": "Planned",
  "workspaceId": "<workspaceId>",
  "assigneeIds": ["<userId>"],
  "teamIds": ["<teamId>"],
  "parentInitiativeId": "<parentInitiativeId>",
  "taxonomyLabelIds": ["<labelId>"]
})