MantisBT icon

MantisBT

Work with Mantis Bug Tracker

Overview

This node integrates with Mantis Bug Tracker (MantisBT) via its REST API, enabling automation and management of bug tracking workflows. Specifically, the "Get a Project" operation under the "Projects" resource retrieves detailed information about a single project by its unique ID.

Common scenarios for this node include:

  • Fetching project details to display or process in automated workflows.
  • Integrating MantisBT project data into dashboards or reporting tools.
  • Using project metadata to conditionally trigger other workflow steps.

Example: Automatically retrieve a project's details when an issue is created to enrich notifications or update related systems.

Properties

Name Meaning
Project ID ID of the project to retrieve.

The "Project ID" property expects a number representing the unique identifier of the project within MantisBT.

Output

The node outputs JSON data representing the full details of the requested project. This typically includes fields such as project name, description, status, visibility, and other metadata defined by MantisBT's project schema.

No binary data output is expected from this operation.

Dependencies

  • Requires connection to a Mantis Bug Tracker instance with REST API enabled.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The base URL of the MantisBT API must be correctly set in the node credentials.

Troubleshooting

  • Invalid Project ID: If the provided project ID does not exist, the node may return an error or empty response. Verify the ID is correct and exists in MantisBT.
  • Authentication Errors: Ensure the API token credential is valid and has sufficient permissions to access project data.
  • Connection Issues: Confirm that the base URL is reachable and the MantisBT REST API is accessible from the n8n environment.
  • API Changes: If MantisBT updates its API, some fields or endpoints might change, causing errors. Check compatibility if issues arise after upgrades.

Links and References

Discussion