Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
Overview
This node operation allows you to create a new work package in OpenProject via its API. Work packages are units of work or tasks within a project management context, and this node helps automate their creation with detailed attributes such as subject, description, scheduling, and links to other entities like project, status, or assignee.
Common scenarios include:
- Automatically generating tasks from external triggers or workflows.
- Creating structured work items with scheduling details for project planning.
- Integrating OpenProject task creation into broader automation pipelines.
For example, you could use this node to create a work package when a new issue is reported in a bug tracking system, including setting the start and due dates, assigning responsible users, and linking it to a specific project.
Properties
| Name | Meaning |
|---|---|
| Subject | The title or subject of the work package. |
| Description | Detailed description of the work package, supporting markdown format. It expects a JSON object with format, raw, and html fields describing the content. |
| Schedule Manually | Boolean flag indicating if the work package should be scheduled manually (true) or automatically (false). |
| Start Date | Scheduled start date/time of the work package. |
| Due Date | Scheduled end date/time of the work package. |
| Estimated Time | Estimated time required to complete the work package, excluding any sub-tasks or descendants. |
| Duration | Duration in hours needed to complete the work package. Must be at least one day (P1D), and will be floored to the nearest day. Only effective if start or due date is set. Not applicable for milestone-type work packages. |
| Ignore Non Working Days | Boolean flag indicating whether non-working days should be ignored during scheduling. If true, the work package can be scheduled on non-working days. |
| Links | JSON object containing references (links) to related entities such as category, type, priority, project, status, responsible user, assignee, version, and parent work package. These define relationships and metadata. |
Output
The node outputs the created work package data in the json field of the output item. This typically includes all properties of the newly created work package as returned by the OpenProject API, such as its ID, subject, description, scheduling info, and linked entities.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The node uses the OpenProject REST API endpoint configured via credentials, including the base URL.
- Proper permissions in OpenProject are necessary to create work packages.
Troubleshooting
- Authentication errors: Ensure the API key and base URL are correctly configured in the node credentials.
- Validation errors: Missing required fields like
subjector invalid date formats may cause API rejections. Verify input values conform to expected types and formats. - Scheduling conflicts: Setting contradictory scheduling options (e.g., duration without start/due date) might lead to unexpected behavior or errors.
- Link references: Incorrect or incomplete
_linksJSON structure may cause failures; ensure referenced entities exist and are properly formatted.