OpenProject icon

OpenProject

Consume OpenProject API

Overview

This node integrates with the OpenProject API to manage various resources such as projects, users, work packages, time entries, versions, types, statuses, priorities, and categories. Specifically for the Status resource with the Delete operation, it allows you to delete a status by its unique ID.

Common scenarios where this node is beneficial include automating project management workflows, cleaning up unused or obsolete statuses in OpenProject, or integrating status management into larger automation pipelines.

For example, you might use this node to automatically remove a status that is no longer relevant after a project phase ends, ensuring your OpenProject instance stays organized without manual intervention.

Properties

Name Meaning
Status ID The unique identifier of the status to delete

Output

The node outputs a JSON object representing the response from the OpenProject API after attempting to delete the specified status. Typically, this will be an empty object or confirmation message indicating successful deletion.

No binary data output is produced by this operation.

Example output JSON:

{}

Dependencies

  • Requires an active connection to an OpenProject instance.
  • Needs an API key credential configured in n8n for authentication.
  • The base URL of the OpenProject API must be provided in the credentials.
  • Uses HTTP Basic Authentication with the API key encoded in Base64.

Troubleshooting

  • Common issues:

    • Invalid or missing Status ID: Ensure the Status ID provided exists and is correct.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or connectivity problems: Confirm that the OpenProject base URL is reachable from the n8n environment.
  • Error messages:

    • OpenProject error response: <message>: This indicates an error returned by the OpenProject API, often due to invalid input or insufficient permissions. Check the message for details.
    • Other generic errors may indicate network issues or misconfiguration.

To resolve errors, verify all input parameters, credentials, and network access.

Links and References

Discussion