MantisBT icon

MantisBT

Work with Mantis Bug Tracker

Overview

This node integrates with Mantis Bug Tracker (MantisBT) via its REST API, enabling users to interact programmatically with issues, projects, and pages within MantisBT. Specifically, the "Get Issue View Page" operation under the "Pages" resource retrieves the detailed view page of a specified issue by its ID.

Common scenarios for this node include:

  • Fetching the full HTML or structured content of an issue's view page for reporting or display purposes.
  • Automating workflows that require accessing issue details as rendered in MantisBT.
  • Integrating MantisBT issue views into other tools or dashboards.

Example use case:

  • A user wants to pull the issue view page content for issue ID 123 to embed it in a custom project management dashboard.

Properties

Name Meaning
Issue ID ID of the issue to retrieve the view page for

The "Issue ID" property is a number representing the unique identifier of the issue whose view page you want to get.

Output

The node outputs JSON data containing the response from the MantisBT API for the issue view page. This typically includes the HTML or structured representation of the issue's view page content.

If the node supports binary data output (not explicitly shown in the provided code), it would likely represent attachments or screenshots related to the issue view page, but this is not evident here.

Dependencies

  • Requires an active connection to a Mantis Bug Tracker instance with REST API enabled.
  • Needs an API token credential for authentication to access the MantisBT API.
  • The base URL of the MantisBT server must be configured in the node credentials.
  • The node uses HTTP requests with JSON content type headers.

Troubleshooting

  • Common Issues:

    • Invalid or missing Issue ID will cause the API call to fail.
    • Incorrect or expired API token will result in authentication errors.
    • Network connectivity problems to the MantisBT server can cause request failures.
    • If the base URL is misconfigured, the node cannot reach the API endpoint.
  • Common Error Messages:

    • 401 Unauthorized: Check that the API token credential is valid and has sufficient permissions.
    • 404 Not Found: Verify that the Issue ID exists in the MantisBT instance.
    • 500 Internal Server Error: Could indicate server-side issues; check MantisBT logs.
    • Network Errors: Ensure the MantisBT server is reachable from n8n.

Links and References

Discussion