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 interacts with the OpenProject API to list file links associated with a specific work package. It is useful when you want to retrieve all files linked to a particular work package in an OpenProject instance, for example, to display or process attachments related to project tasks.
A practical use case includes automating the retrieval of documents or media files attached to a work package for reporting or integration with other systems.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the work package whose file links you want to list. |
| Filters | JSON string specifying filter conditions to narrow down the file links returned. Supports filters such as storage. Accepts the same format as OpenProject's query endpoint filters. |
Example filter usage:
[
{
"storage": {
"operator": "=",
"values": ["42"]
}
}
]
Output
The node outputs a JSON array containing the file links associated with the specified work package. Each item in the output typically represents a file link object with metadata such as file name, URL, storage information, and other relevant attributes as provided by the OpenProject API.
No binary data output is indicated by the source code.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in the node credentials.
- The node uses the OpenProject REST API endpoints to fetch data.
Troubleshooting
- Invalid Work Package ID: If the provided work package ID does not exist, the API will likely return an error or empty result. Verify the ID before running the node.
- Malformed Filters JSON: The filters property must be a valid JSON string matching the expected format. Invalid JSON will cause request failures.
- Authentication Errors: Ensure that the API key and base URL are correctly set in the credentials; otherwise, authentication errors will occur.
- API Rate Limits or Connectivity Issues: Network problems or API rate limits may cause request failures. Check connectivity and API usage quotas.