create-task
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreate Task
创建任务
Create a new TODO or initiative.
创建新的TODO或倡议。
Instructions
操作说明
TODO
TODO
Call . Use to link via relation:
create-todoinitiativeIdPART_OFjson
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-todoinitiativeIdPART_OFjson
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 . Supports and :
create-initiativeparentInitiativeIdtaxonomyLabelIdsjson
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-initiativeparentInitiativeIdtaxonomyLabelIdsjson
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>"]
})