create_work_item
Create tasks and user stories in HacknPlan with required title and importance, plus optional assignments, dependencies, dates, and checklist items.
Instructions
Create a work item (task or user story). Required: title + importance_level_id (get it from get_project/list_*). category_id is required for tasks (not user stories). parent_id nests this item under a user story (the story→task hierarchy). assigned_user_ids assigns members; dependency_ids makes it blocked-by those items. sub_tasks is a list of checklist item titles. due_date/start_date are ISO 8601. If stage_id is given, the item is moved to that stage after creation (the API always creates new items in the default/first stage).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| tag_ids | No | ||
| board_id | No | ||
| due_date | No | ||
| is_story | No | ||
| stage_id | No | ||
| parent_id | No | ||
| sub_tasks | No | ||
| project_id | Yes | ||
| start_date | No | ||
| category_id | No | ||
| description | No | ||
| dependency_ids | No | ||
| estimated_cost | No | ||
| assigned_user_ids | No | ||
| importance_level_id | Yes |