op_create_work_package
Create a work package to record planned work before starting any tracked project change. Set subject, dates, assignee, priority, and more; email notifications are off unless you enable them.
Instructions
Create a work package. Returns the created id. Notifications are off unless notify=true. Every change to a tracked project needs one of these before work starts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Type name, e.g. "Task", "Milestone", "Summary task". Default "Task". | |
| notify | No | Send email notifications. Default false. | |
| parent | No | Parent work package id. | |
| dueDate | No | YYYY-MM-DD. | |
| project | No | Project identifier. Defaults to OPENPROJECT_PROJECT_ID. | |
| subject | Yes | ||
| version | No | Version name, e.g. "Sprint 2". | |
| assignee | No | Owner: a user id, or a display name/login from op_list_users. | |
| category | No | Category name. Must already exist on the project. | |
| priority | No | Priority name, e.g. "Low", "Normal", "High", "Immediate". | |
| startDate | No | YYYY-MM-DD. | |
| description | No | Markdown body. | |
| responsible | No | Accountable: a user id, or a display name/login. | |
| estimatedTime | No | Work: decimal hours (8) or an ISO duration ("PT8H"). | |
| remainingTime | No | Remaining work: decimal hours or an ISO duration. | |
| percentageDone | No | 0-100. Give at most two of this, estimatedTime, remainingTime. |