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 allows users to add comments to existing work packages in OpenProject, a project management system. It is useful for teams who want to programmatically update work packages with additional information or feedback without manually accessing the OpenProject interface. For example, after an automated test run, a comment can be added to a related work package describing the test results.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the work package to which the comment will be added. This is a required numeric field. |
| Notify | A boolean flag indicating whether change notifications (such as emails) should be sent to all users interested in the work package (e.g., watchers, author, assignee). Defaults to false. |
| Comment | A JSON object representing the comment content to be added to the work package. This must be provided as a valid JSON string and will be parsed before sending in the request body. |
Output
The node outputs the response from the OpenProject API after adding the comment to the specified work package. The output is structured as JSON data reflecting the updated state or confirmation of the comment addition. There is no binary data output.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The base URL of the OpenProject instance must be configured in the node credentials.
- The node uses the OpenProject REST API endpoint for work packages to post comments.
Troubleshooting
- Invalid Work Package ID: If the provided work package ID does not exist, the API will return an error. Verify that the ID is correct and that the user has permission to access it.
- Malformed Comment JSON: The comment property must be valid JSON. Invalid JSON will cause parsing errors before the request is sent.
- Notification Issues: Setting the notify flag to true sends email notifications to all interested users. If notifications are not received, check the OpenProject email configuration.
- Authentication Errors: Ensure the API key credential is valid and has sufficient permissions to modify work packages.