MantisBT icon

MantisBT

Work with Mantis Bug Tracker

Overview

The node integrates with Mantis Bug Tracker (MantisBT) via its REST API, enabling automation and management of bug tracking tasks. Specifically, the "Get Issue Files" operation retrieves files attached to a specified issue in MantisBT. This is useful for workflows that need to access or process attachments related to bug reports, such as downloading logs, screenshots, or other relevant documents.

Practical examples include:

  • Automatically fetching all attachments from a bug report to analyze or archive them.
  • Integrating with external storage or processing systems by pulling issue files.
  • Triggering notifications or further actions based on the presence or content of issue attachments.

Properties

Name Meaning
Issue ID ID of the issue to retrieve files from

Output

The output contains a JSON field representing the files attached to the specified issue. Each file object typically includes metadata such as filename, file size, content type, and possibly URLs or binary data references if supported.

If the node supports binary data output, it would represent the actual file contents, allowing downstream nodes to save or manipulate the files directly.

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

  • Issue ID not found or invalid: Ensure the provided Issue ID exists in the MantisBT project and is a valid number.
  • Authentication errors: Verify that the API token credential is correct and has sufficient permissions.
  • Connection issues: Confirm the base URL is reachable and the MantisBT server is running.
  • Empty file list: The issue may have no attachments; verify manually in MantisBT.

Links and References

Discussion