create_workitem
Creates a work item in the current project for a selected assignee, with category, type, subject, and optional custom fields like priority.
Instructions
在当前项目创建工作项。assigned_to 使用成员账号 ID;custom_fields 用于必填自定义字段,例如 priority。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"category": "<category>",
"workitem_type_id": "<workitem_type_id>",
"subject": "<subject>",
"assigned_to": "<assigned_to>"
},
"name": "create_workitem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | ||
| category | Yes | ||
| trackers | No | ||
| verifier | No | ||
| parent_id | No | ||
| sprint_id | No | ||
| assigned_to | Yes | ||
| description | No | ||
| participants | No | ||
| custom_fields | No | ||
| workitem_type_id | Yes | ||
| description_format | No | MARKDOWN |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||