OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to create a file link associated with a specific work package. It is useful in scenarios where you want to programmatically attach or link files to work packages within an OpenProject project management environment. For example, you might use this node to automate linking design documents, specifications, or reports directly to relevant work packages as part of your workflow.

Properties

Name Meaning
Id The unique identifier of the work package to which the file link will be created. This is a required numeric value.

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. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The node configuration must include the base URL of the OpenProject instance.
  • The node depends on the OpenProject REST API being accessible and properly configured to allow file link creation.

Troubleshooting

  • Common issues:
    • Invalid or missing work package ID: Ensure the "Id" property is correctly set to an existing work package number.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Confirm that the OpenProject server URL is reachable from n8n.
  • Error messages:
    • Unauthorized or 401 errors usually indicate invalid credentials.
    • 404 errors may mean the specified work package does not exist.
    • 400 errors could indicate malformed requests; double-check the input parameters.

Links and References

Discussion