OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation deletes a specific Work Package in OpenProject by its unique identifier. It is useful when you need to programmatically remove outdated, incorrect, or completed work packages from your project management system to keep your data clean and up-to-date.

Practical examples include:

  • Automatically deleting test or temporary work packages created during automated workflows.
  • Removing work packages that are no longer relevant after certain conditions are met in your process.
  • Cleaning up work packages as part of a project archival or reset routine.

Properties

Name Meaning
Id The unique numeric identifier of the Work Package to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will be an empty object or confirmation message indicating successful deletion. No binary data output is expected.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the credentials.
  • Depends on the OpenProject REST API being accessible and the user having sufficient permissions to delete work packages.

Troubleshooting

  • Common issues:
    • Invalid or missing Work Package ID: Ensure the provided ID exists and is correct.
    • Insufficient permissions: The API user must have rights to delete work packages.
    • Network or authentication errors: Verify API credentials and network connectivity.
  • Error messages:
    • "404 Not Found": The specified Work Package ID does not exist.
    • "401 Unauthorized" or "403 Forbidden": Authentication failed or insufficient permissions.
    • "400 Bad Request": The input parameters are invalid or malformed.

Resolving these typically involves verifying the Work Package ID, checking API credentials, and ensuring the user has appropriate access rights.

Links and References

Discussion