Import CSV into Mantis
A practical review of importing CSV files into Mantis: what the import changes, where data can be lost or misread, and when plain text or manual entry is the better choice.
What importing a CSV into Mantis involves
Here, Mantis means MantisBT, the open-source issue tracker. Other products share the name. If you use a different tool, the guidance on delimiters, encoding and field mapping still applies, but its import options will differ. A CSV import reads rows of delimited text and turns each row into an issue, with each column mapped to an issue field.
No confirmed, version-specific evidence about a particular Mantis importer was available for this review. It therefore does not describe menu paths, supported columns, file limits or duplicate handling. CSV export is a familiar part of MantisBT. Import has typically depended on an add-on rather than the core product. Check your version's documentation or installed plugins to confirm whether import is available and which fields it accepts.
Is a CSV import the right choice?
A CSV import suits bulk loading of many issues with simple, consistent fields, such as moving a backlog from a spreadsheet or from another tracker's export. Its main benefit is that you don't have to enter each issue by hand. The decisive tradeoff is that CSV is flat text. It has no data types, attachments, issue relationships or change history. Anything beyond plain field values is lost unless your importer defines a specific way to carry it.
Manual entry or a plain-text record is the better choice in some cases: when you have only a few issues, when attachments or threaded notes matter, or when you need the original history for audit purposes. In those cases, keep the source export as a plain-text reference alongside whatever you import.
| Content | Carried by CSV? |
| Text field values (summary, description) | Yes, as plain characters |
| Line breaks inside a field | Only if the field is correctly quoted |
| Attachments | No, a CSV file holds no files |
| Issue relationships and history | Not inherently; only if the importer defines columns for them |
| Values tied to existing records (project, category, user, status) | As text only; they must match entries the tracker recognizes |
What the import actually changes
This is not a visual effect. Nothing is mirrored, reversed or restyled. The CSV file is plain characters. The importer parses it into fields and writes those values into the tracker's stored data. The risk is misinterpretation: a value ends up in the wrong field, is split in two, or is rejected.
- Delimiter: commas are standard, but some regional spreadsheet settings save with semicolons, and TSV uses tabs. The importer must expect the delimiter you used.
- Quoting: fields that contain the delimiter, a double quote or a line break must be wrapped in double quotes. A literal quote inside such a field is written as two quotes.
- Encoding: text outside basic ASCII, such as accented names, non-Latin scripts or emoji, survives only if the file's encoding matches what the importer reads. UTF-8 is the usual safe choice.
- Header row and mapping: column names must map to issue fields the importer understands.
- Reference values: project, category, reporter, handler, status, priority and severity usually need to match values that already exist in your tracker. Depending on the importer, mismatches may be rejected, defaulted or substituted. Verify this before relying on it.
summary,description,category,priority
"Login fails after reset","Steps:
1. Request reset
2. Use link",Authentication,high
"Export, CSV truncated","Quote ""as shown"" in field",Reports,normal
The example above is illustrative. Its column names are placeholders, not a documented Mantis format. A parser that follows common CSV conventions reads two records with four fields each. The first description keeps its internal line breaks. The second summary keeps its comma. The second description reads: Quote "as shown" in field. A tool that simply splits on commas or on line ends would break both records, which is why a quick spot check of imported text is worthwhile.
Will the data stay readable and usable?
The most common source of damage is the trip through a spreadsheet before import. Opening a CSV in a spreadsheet and saving it again can strip leading zeros, reformat dates, switch the delimiter to match locale settings, or change the encoding. Behavior varies by application and settings. Either edit the file in a plain-text editor, or explicitly save as UTF-8 CSV and inspect the result before importing.
Watch for two encoding symptoms. Garbled characters, where accented letters become pairs of odd symbols, usually mean the encoding the file was saved in doesn't match the encoding the importer read. A byte order mark at the start of the file can attach invisible characters to the first header name in some parsers, so that column fails to map even though it looks correct.
Text copied from web pages, chat tools or documents into a CSV can carry curly quotes, non-breaking spaces or stray tabs. These look normal but can break quoting or value matching. Markup or formatting syntax in descriptions arrives as literal characters. Whether it renders as formatting depends on how your tracker is configured, not on the import.
Once imported, field values are ordinary stored text. They should be searchable and editable like manually entered values. What cannot be recovered afterward is anything the CSV never contained, such as original timestamps, authorship or attachments, unless your importer explicitly supports those columns.
A cautious import workflow
- Back up the tracker's database, or use a test project or staging copy.
- Confirm the importer's expected delimiter, encoding, header names and supported fields from its documentation.
- Create any categories, users or custom field values the data refers to.
- Import a small sample that covers edge cases: commas, quotes, line breaks, non-ASCII text and empty fields.
- Compare the imported issues with the source rows field by field.
- Run the full import and keep the original file unchanged as a reference.
Gaps and limits of this review
This review is based on general CSV behavior, not on tests of a specific Mantis version or importer. It does not confirm supported fields, size limits, duplicate detection, or whether an importer can update existing issues or only create new ones. If you use an online converter to clean or reformat the file, check its stated data handling first. Its appearance or marketing gives no reliable indication of how uploaded issue data is stored or retained.