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 creates a file link associated with a specific work package in the OpenProject system. It is useful when you want to programmatically attach or reference files related to a particular work package, enabling better organization and traceability of project documents.
Practical examples include:
- Automatically linking generated reports or logs to a work package after a build or deployment process.
- Attaching design documents or specifications to a task for easy access by team members.
- Creating references to external files stored elsewhere but linked within the project management context.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the work package to which the file link will be created. This must be a number representing an existing work package. |
Output
The node outputs JSON data representing the result of the file link creation operation. This typically includes details about the newly created file link such as its ID, URL, and metadata confirming the association with the specified work package.
If the node supports binary data output (not evident from the provided code), it would represent the actual file content or attachment; however, based on the static analysis, the output focuses on JSON metadata.
Dependencies
- Requires an API key credential to authenticate with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in the node credentials.
- Depends on the OpenProject REST API being accessible and properly configured to allow file link creation on work packages.
Troubleshooting
- Invalid Work Package ID: If the provided work package ID does not exist or is incorrect, the API will likely return an error. Verify that the ID corresponds to an existing work package.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Ensure the API key and base URL are correctly set in the node credentials.
- Permission Issues: The authenticated user must have sufficient permissions to create file links on the specified work package.
- Network or API Availability: Connectivity issues or API downtime can cause request failures. Check network connectivity and OpenProject service status.
Common error messages might include "Not Found" for invalid IDs, "Unauthorized" for credential problems, or "Forbidden" for permission issues.