create-project-template
Creates reusable task templates in a Dooray project with predefined subject, body, assignees, tags, priority, and due date to standardize task creation.
Instructions
Create a new task template in a Dooray project.
Templates are pre-created task structures that help users quickly create tasks with predefined content.
Required Field:
templateName: The name of the template
Optional Fields:
users: Default assignees (to) and CC recipients
body: Default task body content (markdown or HTML)
guide: Instructions shown when creating tasks from this template
subject: Default task subject/title
dueDate: Default due date (ISO 8601 format)
dueDateFlag: Whether due date is enabled
milestoneId: Default milestone
tagIds: Default tags
priority: Default priority (highest, high, normal, low, lowest, none)
isDefault: Set as default template (auto-fills when creating new tasks)
Due Date Flags:
dueDateFlag: false → No schedule
dueDateFlag: true, dueDate: null → Schedule exists but date is TBD
dueDateFlag: true, dueDate: "2024-01-15T12:00:00+09:00" → Schedule with specific date
Examples:
Simple template: {"projectId": "123", "templateName": "Bug Report"}
With body: {"projectId": "123", "templateName": "Feature Request", "body": {"mimeType": "text/x-markdown", "content": "## Description\n\n## Expected Behavior\n\n## Steps to Reproduce"}}
With defaults: {"projectId": "123", "templateName": "Sprint Task", "priority": "normal", "tagIds": ["tag1"], "isDefault": true}
Returns the created template ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Default task body content | |
| guide | No | Guide content shown when creating tasks | |
| users | No | Default users for tasks created from this template | |
| tagIds | No | Default tag IDs | |
| dueDate | No | Default due date (ISO 8601 format) | |
| subject | No | Default task subject | |
| priority | No | Default priority | |
| isDefault | No | Set as default template for this project | |
| projectId | Yes | Project ID where the template will be created | |
| dueDateFlag | No | Enable due date | |
| milestoneId | No | Default milestone ID | |
| templateName | Yes | Template name (required) |