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 add an attachment to a specific post within the OpenProject system. It is useful when you want to programmatically upload or link files, images, or documents to posts for collaboration, documentation, or record-keeping purposes. For example, you might use this node to attach meeting notes, screenshots, or specification documents directly to a discussion post in a project.
Properties
| Name | Meaning |
|---|---|
| Id | The numeric ID of the post that will receive the attachment. This identifies the target post where the file or document will be attached. |
Output
The output JSON contains information about the result of the attachment operation. Typically, it includes confirmation details such as the post ID, attachment metadata (like filename, size, type), and status of the upload. If the node supports binary data input for the attachment itself, the output confirms successful attachment but does not output the binary content.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in the credentials.
- The node depends on the OpenProject REST API being accessible and the user having permission to add attachments to posts.
Troubleshooting
Common issues:
- Invalid or missing post ID: Ensure the post ID exists and is correct.
- Authentication errors: Verify that the API key and base URL are correctly set in the credentials.
- Permission denied: Confirm that the authenticated user has rights to add attachments to the specified post.
- Network or connectivity problems: Check network access to the OpenProject server.
Error messages:
- "Post not found" or similar indicates the provided post ID does not exist.
- "Unauthorized" or "Authentication failed" suggests invalid credentials.
- "Attachment upload failed" may indicate file size limits or unsupported file types.
Resolving these typically involves verifying input parameters, credentials, and user permissions.