Mantis Bug Tracker Tutorial

โšก Smart Summary

Mantis Bug Tracker is a free, open-source issue tracking system that software teams use to report defects, assign owners, attach evidence, and follow every fix through to closure across multiple projects and releases.

  • ๐Ÿž Report an Issue: Nine guided steps take a defect from the Report Issue form to a numbered, tracked entry.
  • ๐ŸŽจ Status Colours: Each workflow status carries its own row colour, so a queue can be read at a glance.
  • ๐Ÿ“ Project Setup: Manage Projects creates a container for every product, with its own status and visibility.
  • ๐Ÿ‘ฅ User Accounts: Manage Users creates accounts, sets an access level, and assigns people to projects.
  • ๐Ÿงฉ Custom Fields: Extra fields such as Business Value can be defined once and linked to any project.
  • ๐Ÿ”” Notifications: Account Preferences decide which events send email, from new issues to added notes.
  • ๐Ÿ› ๏ธ Current Release: MantisBT 2.28.4 is the supported line; 1.3.x receives security fixes only.

Mantis Bug Tracker Tutorial

What is Mantis Bug Tracker?

Mantis, released under its official name MantisBT, is an open source bug tracking software that can be used to track software defects for various software projects. You can easily download and install MantisBT for your own use, and the project also offers a hosted version of the same software through MantisHub. You can easily customize Mantis to map your software development workflow.

MantisBT is a PHP application and stores its data in MySQL, PostgreSQL or Microsoft SQL Server, with the server itself running on Linux, Windows or macOS. The current stable release is MantisBT 2.28.4; the older 1.3.x branch (1.3.20) is still supported but receives only security and critical bug fixes, so a new installation should start on the 2.x line.

Some salient features of MantisBT are

  • Email notifications: It sends out emails of updates, comments, resolutions to the concerned stakeholders.
  • Access Control: You can control user access at a project level
  • Customize: You can easily customize Mantis as per your requirements.
  • Mobile Support: Mantis supports iPhone, Android, and Windows Phone Platforms.
  • Plugins: An ever-expanding library of plugins to add custom functionality to Mantis Issue Tracker.

The rest of this walkthrough follows the order a new team usually works in: log a first defect, then create the project, the users and the custom fields that keep the queue organised.

How to Report an Issue

You do not have to install anything to try MantisBT. The official demo page hands out a free hosted MantisHub trial instance and also lets you browse the MantisBT team’s own public tracker in read-only mode. A well-formed bug report is what makes the rest of the workflow useful, so start there.

Step 1) Log into Mantis

The login screen asks for a username and password, and offers links for signing up and for recovering a lost password.

Mantis Bug Tracker login screen with username, password and the Login button highlighted

Step 2) Once you login to Mantis your username will be displayed on the top of the Mantis main screen and now you can report your issue into the Mantis by clicking on the option "Report Issue" as shown below.

Mantis header showing the logged-in reporter account and the Report Issue link marked in the top menu

Step 3) In the next Screen

  1. Enter Bug Category
  2. Enter Reproducibility
  3. Enter Severity
  4. Enter Priority
  5. Enter Platform Details
  6. Enter Summary of the Bug Report
  7. Enter Description
  8. Enter Steps to reproduce the error
  9. Click Submit Report

The numbered callouts in the screenshot below map one to one onto that list, from Category at the top to Submit Report at the foot of the form.

Mantis Enter Report Details form filled in with category security, reproducibility always, severity crash and priority immediate

NOTE: The fields you see in your version of Mantis will differ. Refer our section on Custom Fields for the same.

Step 4) After entering all the details in the report window, we will submit a report and soon our report will be displayed on the main window. As shown in the screenshot below, when you click on view issue, the issue will appear on the screen with the id "0017896" also, it shows the status as new and also the date when it was created.

Mantis View Issues list with filter panel above and the newly created issue 0017896 shown in status new

The issues in the Mantis Tool are highlighted according to the status of an issue. For example here the issue is in acknowledged status, therefore, highlighted in light orange.

Mantis status colour legend showing new, feedback, acknowledged and confirmed above an acknowledged issue row

For different statuses, different colors are allotted. The table below lists the default colour that MantisBT ships for each workflow status, which an administrator can override through the $g_status_colors configuration setting.

Status Default colour What the row is telling you
new Light red / pink Reported, and nobody has picked it up yet.
feedback Purple The handler needs more information from the reporter.
acknowledged Orange The team accepts the report as valid.
confirmed Yellow A second person has reproduced the defect.
assigned Blue A named handler is working on the fix.
resolved Green A fix is in place and is waiting for verification.
closed Grey Verified and archived, no further action expected.

Reading a queue by colour is the quickest way to see where a release is stuck, and it maps directly onto the wider defect life cycle your team already follows.

Step 5) When you click on your issue #id 0017896, it will show the issue in more details like project reporter, its status, date submitted and last updated.

Mantis View Issue Details page for issue 0017896 listing project, reporter, priority, severity, reproducibility and resolution

Step 6) Apart from these, you can add a file, documents, images to your bug as shown below โ€“

Mantis issue page showing the attached SecurityBug.png screenshot and the Browse and Upload File controls

Step 7) You can also add comments addressing your issue as shown in the screenshot below.

Mantis Notes panel with a reporter comment added to the issue and Edit, Delete and Make Private buttons

Step 8) You can click history at top of the Issue Report, to see issue history. This issue history has details like when the issue was created, or when the file was added to the issue or if there is any note added to the issue.

Mantis Issue History table logging the new issue, the file added and the note added with dates and usernames

Step 9) Once the issue is submitted the developer receives an email.

The notification below is the message Mantis sends when the issue changes hands, and it repeats the reporter, handler, project, category, severity, priority and status in plain text.

Mantis email notification announcing that an issue has been assigned, with reporter, handler, severity and status listed

How to Add a Project

Every issue in Mantis belongs to a project, so the next task is to create one for the product under test.

Step 1) Under Manage Tab, go to Manage Projects

  1. Enter Project Name
  2. Select Status
  3. Enter Description
  4. Click Add Project

Mantis Add Project form with the project name, development status and description filled in before clicking Add Project

Step 2) Project is created.

Mantis Manage Projects list confirming the new project with its status, enabled flag and public view status

How to Create a User

With a project in place, the reporters, developers and managers who will work on it each need an account.

Step 1) Go to Manage > Manage Users. Click "Create New Account"

Mantis Manage Accounts page listing the existing administrator account with the Create New Account button highlighted

Step 2) Enter the account details, then create the user

  1. Username
  2. Real Name
  3. Email
  4. Access Level
  5. Click Create User

Mantis Create New Account form with the username and real name entered for a new support account

Step 3) In the next screen assign user to the desired project.

Mantis Add user to project screen moving a project from Unassigned Projects and setting the access level to reporter

Step 4) Update Email and other Account Preferences as desired

Mantis Account Preferences page with the per-event email checkboxes, default project, time zone and language settings

Step 5) Login credentials are sent to the user by email.

Mantis account registration email telling the new user that an account was created and linking to the password page

How to Create Custom Field

When the standard report form does not capture everything your process needs, Mantis lets you define extra fields and attach them to individual projects.

Step 1) Create the field

  1. Go to Manage Custom Fields
  2. Enter Field Name
  3. Click Button "New Custom Field"

Mantis Manage Custom Fields page with a new field name typed in and the New Custom Field button marked

Step 2) Configure how the field behaves

  1. Select Field Type
  2. Enter Field Specific Data
  3. Hit Update Custom Field

Mantis Edit custom field screen setting the field type, length limits and the display and required checkboxes

Step 3) Custom Field is created

Mantis Custom Fields list showing the newly created field with its project count and type

Step 4) Click the Custom Field Again and Link Custom Field to your Project

Mantis Link custom field to project screen with the project selected, a sequence value and the Link Custom Field button

Step 5) In the Report Issue section, the new custom field is reflected

Mantis Enter Report Details form with the linked custom field now appearing as an extra row above Upload File

Custom fields, projects and access levels together give a small team the same control that heavier bug tracking tools provide, without leaving the defect management process you already run.

FAQs

MantisBT is open source under the GNU GPL, so self-hosting costs nothing beyond your own server. Version 2.28.4 is the current stable release. The legacy 1.3.20 branch receives security and critical fixes only, so a new installation should start on the 2.x line.

MantisBT is a PHP application and works with MySQL, PostgreSQL or Microsoft SQL Server. The server itself can run Linux, Windows or macOS, and the web interface is supported on Chrome, Firefox, Safari, Opera and Edge.

MantisBT is the downloadable package you install and maintain yourself. MantisHub is the commercial hosted service built on the same codebase, so you get a working instance in seconds with support included, instead of managing PHP, the database and upgrades.

Severity records technical impact, with values such as crash, major, minor or trivial. Priority records scheduling urgency, with values such as immediate, urgent, high or normal. A visible typo can carry low severity and high priority at the same time.

Open View Issues and narrow the filter row by reporter, status, category, severity or product version, then click Apply Filter. The same page offers Print Reports, CSV Export, Excel Export and Graph links for sharing the result outside the tool.

MantisBT is lightweight, self-hosted and free, which suits small teams that want full control of their data. Commercial bug tracking tools ship agile boards, dashboards and native integrations out of the box, so larger programmes often prefer them.

AI models can compare a new summary and description against the existing backlog, flag likely duplicates, and propose a category, severity and handler. Treat every suggestion as a recommendation: a human reviewer still confirms the classification before the issue moves on.

Yes. GitHub Copilot can draft scripts that call the MantisBT REST API to create issues, attach logs or export reports, and can scaffold plugin code. Always review generated calls against the current API documentation before running them.

Summarize this post with: