OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation allows you to add an attachment to a specific wiki page within the OpenProject system. It is useful when you want to programmatically upload or link files to documentation pages, enhancing collaboration and information sharing in project management workflows. For example, you might use this node to attach meeting notes, design documents, or images directly to relevant wiki pages as part of an automated process.

Properties

Name Meaning
Id The numeric ID of the wiki page that will receive the attachment. This identifies the target page where the file will be added.

Output

The node outputs JSON data representing the result of the attachment operation. This typically includes confirmation details such as the attachment metadata or status indicating whether the upload was successful. If binary data (the actual attachment content) is handled, it would represent the file being attached, but based on the provided code snippet, the output focuses on JSON response data confirming the action.

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.
  • Depends on the OpenProject REST API endpoint for managing wiki page attachments.

Troubleshooting

  • Common issues:
    • Invalid or missing wiki page ID can cause the operation to fail.
    • Authentication errors if the API key or URL is incorrect or expired.
    • Network connectivity problems preventing access to the OpenProject server.
  • Error messages:
    • "404 Not Found" likely means the specified wiki page ID does not exist.
    • "401 Unauthorized" indicates authentication failure; verify API credentials.
    • "400 Bad Request" may occur if required parameters are missing or malformed.
  • Resolutions:
    • Double-check the wiki page ID input.
    • Ensure API credentials are correctly set up and have sufficient permissions.
    • Verify network access to the OpenProject instance.

Links and References

Discussion