OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to retrieve information about a specific custom field item branch. It is designed to fetch details of a custom field item by its unique identifier. This functionality is useful when you need to programmatically access metadata or configuration details stored as custom fields within OpenProject projects, such as retrieving specific settings or attributes assigned to project elements.

A practical example would be automating the retrieval of a custom field's value for reporting or integration purposes, where you want to pull detailed information about a particular custom field item identified by its ID.

Properties

Name Meaning
Id The unique identifier of the custom field item to retrieve. This is a required numeric input specifying which custom field item branch to fetch from OpenProject.

Output

The node outputs JSON data representing the details of the requested custom field item branch. The structure corresponds to the response returned by the OpenProject API for that resource, typically including properties such as the item's ID, name, type, and any other metadata associated with the custom field item.

No binary data output is indicated in the source code.

Dependencies

  • Requires an active connection to an OpenProject instance via its REST API.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • The base URL of the OpenProject server must be provided in the credentials configuration.
  • Uses the @devlikeapro/n8n-openapi-node package and an OpenAPI specification (openapi.json) to build request properties dynamically.

Troubleshooting

  • Invalid or missing ID: If the provided custom field item ID does not exist or is invalid, the API will likely return a 404 error. Ensure the ID is correct and exists in your OpenProject instance.
  • Authentication errors: Missing or incorrect API credentials will cause authorization failures. Verify that the API key/token and base URL are correctly set in the node credentials.
  • Network issues: Connectivity problems to the OpenProject server can cause timeouts or connection errors. Check network access and server availability.
  • API changes: If the OpenProject API changes or the OpenAPI spec used is outdated, some properties might not work as expected. Keep the OpenAPI definition up to date.

Links and References

Discussion