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 retrieve items of a custom field. Specifically, the "Get Custom Field Items" operation fetches the values associated with a particular custom field, optionally filtered by a parent item and limited by hierarchy depth. This is useful when you want to dynamically obtain the options or entries defined for a custom field in OpenProject, for example, to populate dropdowns, validate inputs, or synchronize data.
Practical examples:
- Fetching all selectable options for a custom dropdown field to present them in another system.
- Retrieving hierarchical custom field items up to a certain depth to analyze or report on nested structures.
- Filtering custom field items by a parent identifier to get only relevant subsets.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the custom field whose items you want to retrieve. |
| Parent | (Optional) The identifier of the parent hierarchy item to filter the custom field items. |
| Depth | (Optional) The level of hierarchy depth to retrieve for the custom field items. |
Output
The node outputs JSON data representing the list of custom field items retrieved from OpenProject. Each item corresponds to an entry within the specified custom field, potentially including hierarchical relationships if parent and depth are used.
If the custom field supports hierarchical data, the output will reflect this structure according to the requested depth.
No binary data output is indicated.
Dependencies
- Requires an active connection to an OpenProject instance via its REST API.
- Needs an API authentication token configured in the node credentials to authorize requests.
- The base URL of the OpenProject server must be set in the credentials.
Troubleshooting
- Invalid or missing custom field ID: Ensure the
Idproperty is correctly set to an existing custom field's unique identifier. - Authentication errors: Verify that the API key or token provided in credentials is valid and has sufficient permissions.
- Network or connectivity issues: Confirm that the OpenProject server URL is reachable from the n8n environment.
- Incorrect parent ID or depth: If filtering by parent or setting depth returns no results, check that these values correspond to actual hierarchy items and valid depth levels.
Common error messages may include HTTP 401 Unauthorized (authentication failure), 404 Not Found (invalid resource or ID), or 400 Bad Request (invalid parameters). Resolving these typically involves verifying credentials, IDs, and parameter correctness.