Mantis – bug tracking system made easy
Mar 10, 2008 by Hemil Shah Security Systems
Mantis is a free security web application (bug tracking system) written in PHP. It stores all found bugs in a database.
No software can be bug free. There is a phase in SDLC (Software Development Life Cycle) of Testing. Testing is very important phase of any software. It is important to formally maintain bugs. Normally in most of the companies, Bugs are recorded with a bug tracking system and on release of each version, all old bugs are rechecked.
Mantis, BugZilla, Jira are some of the bug tracking system commonly used by the companies.
Mantis is free and open source under GPL license. It can use MySQL, MS SQL Server and PostgreSQL as a database for storing the bugs. It can be installed on Windows, Linux, Mac OS and OS/2. Last but not least, as it is web based application – it is obvious that it needs web server. It can be either IIS or Apache.
Installing Mantis
If I write how to install Mantis, this paper will go on and on… and it is not necessary as it is already well written at mantis official site. I don’t see any point in reinventing wheel. Installation in easy steps is -
- Install prerequisites
- Web Server
- Database
- PHP
- Get Latest version of Mantis
- Configure Mantis
- Login to admin application
- Create project and users
- Assign permissions to users
Features of Mantis
Mantis is very rich in the features and that is what makes it popular amongst companies. There are many features, though I am pointing out some of the key features here.
Features for Developer/Testing Professional
- Very simple Interface and easy to use
- Supports RSS feeds
- Ability to send mail to users
- Ability to integrate chatting
- Ability of integration with famous source code repository (SVN & CVS)
- Ability to upload files with bugs (This is very useful as reporter can upload screen shot of the bug)
- Ability to define role based on project. (This is very useful in the case of small companies, where one person have multiple roles in different projects).
Features for Top Management
- Reporting ability for managers and high management
- Ability to export report in CSV, Microsoft Excel and Microsoft Word
Features for Administrator
- Very easy to administration. Creating new project or user is only some clicks.
- Give flexibility of choosing OS, Web Server and Database Server
- Ability to integrate authentication with LDAP and Active directory
- No installation at client end (it is web based so only browser is necessary at client side)
- Easy to customize as per the companies requirement
Comparison with Bugzilla
Though there are many bug tracker available, best of them is Mantis and Bugzilla. Here are the few points why Mantis is better than Bugzilla.
- To implement Bugzilla, administrator must have some prior knowledge of CGI which is not always true for all administrators; Mantis can be implemented without any knowledge of PHP. This means customization in mantis is very easy compare to bugzilla.
- Mantis can generate change log where Bugzilla can not. This is most important feature for management as they want to make sure that what changes are made for each bug. and bugs are not repeated.
- Mantis shows different color of the bug depending on the priority and its status. This helps project manager in looking at the current state of the application. Bugzilla shows white spaces and does not use multiple colors.
Role of Mantis Administrator
As always, role of administrator in Mantis is very important. Though it is not as tough as administrating any operating systems. There is an administrative application comes with Mantis installation. Following are some of the tasks which administrator has to perform
- Create users
- Create projects
- Assign role to users on different projects (Role can be either developer, Reporter, Viewer)
- Developer – All the developer and Project managers falls in this category
- Reporter – Entire test team and test lead falls in this category
- Viewer – Top management falls in this category
- Periodically backup all the bugs
- config_defaults_inc.php or config_inc.php are the two important files of mantis where Mantis stores all the configuration.
How Mantis is used in developing companies
As mentioned earlier, Mantis is web application. This is how normally developing companies uses Mantis.
- Testing professional report the bug and set bug status to new
- Once the project leader reviews the bug and understands it, he adds his comment, decide the time frame and assign it to his developer and change the status to “assigned”. If project leader does not understand bug, he adds his comment and assign back to reporter.
- Once developer solves the bug, he adds his comment and assigns it back to his project leader.
- Once project leader checks the bug, he changes the status to “Fixed” and assign back to reporter.
- Reporter rechecks the bug with latest build and change the bug status to “Close”.
How to test Mantis
After reading this much, you might feel to test it and see whether it fits your requirement or not. Obviously, you don’t want to waste your time in setting it up in your test lab. Don’t worry: you don’t have to waste your time to set it up. You can watch Mantis’s demo online.
This is how your Mantis will look like:
Conclusion
Bug tracking system performs major role in successful development of any software. As it is said – it is always good to get bugs from internal people than outsider. Mantis is very popular because of its robustness, open source and easy to customize.
Some Useful Links
- Mantis Official Site – http://www.mantisbt.org
- Mantis Manual – http://www.mantisbt.org/manual/
- Mantis Demo Application – http://www.futureware.biz/mantisdemo/my_view_page.php
——————————————-
Hemil Shah has more than 5 years working experience in system administration, vulnerability assessment, Web Application assessment and penetration testing exercises along with writing security policies. He currently lives in Camden, North Carolina USA.
——————————————-
Tags: bug tracking system, bugzilla, mantis, php, security software, web application




























(7 votes, average: 4.57 out of 5)
Get News by RSS feed
March 21st, 2008 at 6:15 pm
Regarding the statement above, “Though there are many bug tracker available, best of them is Mantis and Bugzilla.”
Well, different people have different opinions. I’ve put together a page of links to first-person accounts of bug tracking system evaluations. Not everybody who tries Mantis ends up choosing it.
http://ifdefined.com/blog/post/2007/10/Links-to-other-comparisons-of-issue-trackers.aspx
Here are 3 more web-based bug tracking systems that are worth a look, each with a different style than Mantis: Trac, BugTracker.NET, and FogBugz. Trac and BugTracker.NET are free and open source. (I’m the author of BugTracker.NET. More info at http://ifdefined.com/bugtrackernet.html)
March 21st, 2008 at 11:24 pm
You’re right, everyone has opinions. This review of Mantis is done having the reviewer experience with it…
Maybe we’ll review BugTracker.NET too…and others. Or maybe other users will review them.
March 31st, 2008 at 3:05 am
I have a problem when install Mantis v1.1.1 with MSSQL.Could you please show me the way to install Mantis with MSSQL
Thanks so much
April 14th, 2008 at 6:07 pm
Hi,
Please could you tell me how to install Mantis on Windows XP with easyPHP as a server including mySQL ?
Thank you lot
Regards
April 14th, 2008 at 10:01 pm
I hope somebody can respond to you…I don’t have any experience with Mantis so far…
May 22nd, 2008 at 1:04 am
Very useful, thanks.
As a former Mantis user I recommend that you also take a look at BugWiki (www.bugwiki.com). I like it for its extreme simplicity and nice visual design.
June 2nd, 2008 at 2:08 pm
Is it just me or is David R. Winther a BugWiki employee. I have been researching some bug tracking tools recently and everywhere I see, there are some recent comments about how good bugwiki is (twitter, some bug tracker comparisons etc). I look at bugwiki and it’s no better than scribbling down stuff in a spreadsheet. I am not saying it’s bad (everything has it’s uses), but persistent comments stating how great bugwiki is, is pretty darn suspicious. Especially on a post that is a nearly a year old?
October 3rd, 2008 at 12:47 pm
Volta e meia, algum projeto que estou trabalhando me vejo obrigado a usar o Mantis. Não gosto dessa ferramenta, contudo, na minha opinião, o fato de ser livre de licença a isenta de qqr crítica. Todavia, acho lamentável a postura de administradores (líderes, e gerentes de projetos) que conduzem seus projetos suportados por ferramentas que se enquadram nesse contexto. Isentas de críticas, isentas de um critério rigoroso de qualidade, porém isentas também da responsabilidade de atender ao que se prestam.
November 3rd, 2008 at 6:55 am
I want Configuration Steps for MANTIS BUG TRACKING SYSTEM.
November 3rd, 2008 at 6:06 pm
Maybe this link about configuring Mantis can help you http://svn.sourceforge.jp/svnroot/testlinkjp/trunk/docs/tl-bts-howto.pdf
November 14th, 2008 at 2:58 am
Ik heb mantis geprobeerd.
Men is het doel voorbij gestreefd met Mantis.
Mantis is verre van gebruikersvriendelijk.
Ik ga eens kijken naar bugtracker en bugwiki.
December 11th, 2008 at 7:11 am
Gostaria de saber qual a capacidade do mantis, qual o máximo de contas podem ser criadas e quantos usuários podem concorrer no uso. Pode considerar uma infra bem robusta.
Obrigado,
Charles Barbosa.
January 23rd, 2009 at 9:10 am
Também sou usuário do Mantis e recomendo.
Muito bom.
July 8th, 2009 at 1:57 pm
mantis is the shit once you figure it out
Quintin Reply:
October 23rd, 2009 at 3:19 am
@not a bug, am getting a bad error
“database is not supported by PHP. Check that it has been compiled into your server”
Can some one please help me!
I have enable myql support in php
restarted apache
dont know what els to check