Redmine icon

Redmine

Consume Redmine API

Overview

This node integrates with the Redmine API, allowing users to manage Redmine resources such as issues, projects, and users. Specifically, for the Project - Delete operation, it enables deleting a project by its ID from a Redmine instance. This is useful in scenarios where projects are no longer needed or were created by mistake and need to be removed programmatically.

Practical examples include:

  • Automating cleanup of obsolete projects.
  • Integrating project deletion into workflows triggered by external events.
  • Managing Redmine projects at scale without manual intervention.

Properties

Name Meaning
Project ID The unique identifier of the project to delete. This must be provided as a string.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the project was successfully deleted or provide error information if the deletion failed.

If an error occurs during execution and the node is configured to continue on failure, the output JSON will contain an error field with the error message.

No binary data output is involved in this operation.

Dependencies

  • Requires access to a Redmine instance URL.
  • Requires an API key credential for authenticating requests to the Redmine API.
  • The node depends on internal helper modules that handle the actual API calls for project operations.

Troubleshooting

  • Common Issues:

    • Invalid or missing Project ID: Ensure the Project ID is correct and exists in Redmine.
    • Authentication errors: Verify that the API key and Redmine URL credentials are correctly configured.
    • Permission errors: The API key used must have sufficient permissions to delete projects.
    • Network connectivity issues: Confirm that the Redmine server is reachable from n8n.
  • Error Messages:

    • Errors returned from the Redmine API will be included in the output JSON under the error field if "Continue On Fail" is enabled.
    • Common error messages might include "Project not found", "Unauthorized", or "Forbidden".

To resolve these:

  • Double-check the Project ID.
  • Validate API credentials.
  • Check user permissions in Redmine.
  • Ensure network connectivity.

Links and References

Discussion