create-task
Create a new Dooray project task as a draft for review or save it immediately with assignees, tags, priority, and due date.
Instructions
Create a new task (업무) in a Dooray project. Required: projectId, subject.
DRAFT vs REGULAR: ASK USER which type to create:
Draft (isDraft: true): Returns URL to continue editing in browser. Use for complex tasks or when user wants to review.
Regular (isDraft: false, default): Saves immediately. Use when all info is available.
INTERACTIVE WORKFLOW:
Templates: Ask about get-project-template-list. If yes, use get-project-template for defaults.
Content: Get subject and body. If no template and no body, ask user for details.
Assignees/CC: Use get-my-member-info, get-project-member-list, or get-project-member-group-list. Format: {id, type: "member|group|email"}
Tags: Call get-tag-list. CRITICAL: Check mandatory tag groups - must select or creation fails (500 error). selectOne=true requires exactly ONE tag from group.
Key Points:
Priority defaults to "none"
Set parentPostId for subtasks (하위업무)
Extract PROJECT_ID from URLs like "https://nhnent.dooray.com/task/PROJECT_ID"
Examples:
Draft: {"projectId": "123", "subject": "Bug fix", "isDraft": true}
Regular: {"projectId": "123", "subject": "Deploy", "assignees": [{"id": "user1", "type": "member"}], "tagIds": ["tag1"], "priority": "high"}
Returns: Task object (regular) or {id, url, message} (draft).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | List of CC recipients (참조). To get CC options: (1) use get-my-member-info for current user, (2) use get-project-member-list for project members, (3) use get-project-member-group-list for member groups. Each CC object has {id: string, type: "member"|"group"|"email"}. | |
| body | No | Task body with formatted content. IMPORTANT: If user has not provided body content and no template is selected, ask the user for task details/description before creating the task. | |
| tagIds | No | Array of tag IDs to apply to this task. IMPORTANT: Check for mandatory tag groups using get-tag-list tool. Projects may require specific tags from mandatory tag groups. | |
| dueDate | No | Due date in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) | |
| isDraft | No | Set to true to create a draft task (임시 업무) that can be continued in the browser. Returns a URL for further editing. Default: false (creates regular task). | |
| subject | Yes | Task subject/title (required) | |
| priority | No | Task priority level (highest, high, normal, low, lowest, none). Default: "none" if not specified by user. | |
| assignees | No | List of assignees (담당자). To get assignee options: (1) use get-my-member-info for current user, (2) use get-project-member-list for project members, (3) use get-project-member-group-list for member groups. Each assignee object has {id: string, type: "member"|"group"|"email"}. | |
| projectId | Yes | Project ID where the task will be created | |
| milestoneId | No | Milestone ID to associate with this task | |
| parentPostId | No | Parent task ID to create this as a subtask (하위업무). Omit to create a regular task. |