Actions6
- Issues Actions
- Pages Actions
- Projects Actions
Overview
The node integrates with Mantis Bug Tracker (MantisBT) to perform various operations on issues, projects, and pages. Specifically, the "Get Issue File" operation retrieves a file attached to a particular issue in MantisBT. This is useful when you want to programmatically access attachments related to bug reports or tasks tracked in MantisBT.
Common scenarios include:
- Downloading logs, screenshots, or other files attached to an issue for further processing.
- Automating retrieval of issue-related documents for reporting or archival.
- Integrating MantisBT issue attachments into other systems or workflows.
Example: Automatically fetch a screenshot attached to a bug report when the issue status changes, then upload it to a shared drive or send it via email.
Properties
| Name | Meaning |
|---|---|
| Issue ID | The unique numeric identifier of the issue from which to retrieve the file. |
| File ID | The unique numeric identifier of the file attached to the issue that you want to get. |
Output
The output contains the data of the requested file attached to the specified issue. Typically, this will be binary data representing the file content (e.g., image, document, log file). The json output field may include metadata about the file such as its name, size, and MIME type, but the primary content is the binary file data itself.
Dependencies
- Requires connection to a Mantis Bug Tracker instance with API access 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 Issue ID or File ID: If the IDs provided do not exist or are incorrect, the node will fail to retrieve the file. Verify the IDs in MantisBT before running the node.
- Authentication Errors: Ensure the API token is valid and has sufficient permissions to access issue files.
- Network Issues: Confirm that the MantisBT server is reachable from the n8n environment and that the base URL is correct.
- File Not Found: If the file was deleted or moved, the node will return an error indicating the file cannot be found.