Home > Research > dotProject and Mantis Integration and Configuration

dotProject and Mantis Integration and Configuration

October 17th, 2007

I have lately been researching on implementing dotProject for my organization. My evaluation shows that dotProject is a good Project Management tool for consulting and can also help you implement Agile development methodologies. However, I don’t find it suitable for an Internet Company with a release cycle of 2 – 3 days from development to QA to Live (this is because at various stages tasks will have to be created – which as of now is not automated – you will manually have to create them).

The requirement from my company was to use Mantis and provide integration with dotProject. I googled around and found various links leading nowhere and finally got something substantial. However, I did a bit of playing around with the code to get it working perfectly well.

Following are the steps that you will have to follow for integration:

1. You will need the Mantis integration module for DotProject. This is available at the following location

Download the latest version; which at the time of this writing is dp-mantis04b.zip

2. Extract the DP_Mantis.X.zip package into your dotProject Installation folder.

3. Open the dotProject_installation_folder/modules/mantis/addissue.php file for editing and follow the steps mentioned below:

3.1 Goto Line 40 (this is the line number for the dp-mantis04.zip file, yours could change as per latest release)

3.2 Edit these lines from:

$prefix = dPgetConfig( ‘mantis_dp_pref’) ;
$mantisprefix = dPgetConfig( ‘mantis_prefix’) ;
$mantis_bug_table = $mantisprefix ;


$prefix = dPgetConfig( ‘mantis_dp_pref’) ;
$mantisprefix = dPgetConfig( ‘mantis_prefix’) ;
$mantislink = dPgetConfig( ‘mantis_link’) ;
$mantis_bug_table = $mantisprefix ;

4. Copy dotProject_installation_folder/modules/mantis/docs/mantis/index_dp.php into the document root of your mantis installation

5. Add the contents of dotProject_installation_folder/modules/mantis/docs/mantis/config.txt to dotProject_installation_folder/includes/config.php (inside your Dotproject installation)

6. Activate/enable and show the module using the admin interface.

7. You will now see a Menu option on the top of the screen labeled ‘Mantis’ and a new tab in the Project View labeled ‘Mantis’

8. The next step is to create the userbase on the Mantis system having the same username as that of the dotProject.

9. To raise a bug, go to the Project View and click on tab ‘Mantis’ and click on Add Issue.

10. This will give you a screen to type in the title and description of issue. Once you add an issue the same will be made available through the Mantis Interface.

11. Any change that you make to the status of the issue through Mantis will get reflected to dotProject Project View as well.

Please feel free to post any comments that you might have or ask any question.

Categories: Research Tags:
  1. Antonio
    April 9th, 2008 at 22:13 | #1


    I’ve found this guide to integrate Mantis and dotProject excellent. I’ve followed the steps but when I create a new issue the application start “working” but it never ends. If I go to Mantis I can see the issue created but if I try to look at the issue it gives me an error.


  2. Praveen Prasoon
    April 24th, 2008 at 11:09 | #2


    How can i download the brifgr file. the link is invalid. and even i reach therr fro the index page of the nuy.ino but it is asking for login.

    Please help me .


  3. marco
    August 20th, 2008 at 21:11 | #3


    my installation gone well till 6 “Activate/enable and show the module using the admin interface.”

    after this, my dp does not crashed at all, but dont show mantis tab as expected

    any ideas?

    thank you,

    Marco – [email protected]

  4. marco
    August 20th, 2008 at 22:36 | #4



  5. Walter
    August 21st, 2008 at 11:40 | #5

    OK, I did it. Nothing. No tabs, no links, no errors.


    Any ideas?


    PS DLed v04b

  6. Carlos
    December 27th, 2008 at 06:57 | #6

    Ok i did it:

    change on index.php on dotproject

    $dPconfig[‘mantis_link’] = ‘C’;


    // Autmatic or by Custom field (A/C)
    $dPconfig[‘mantis_link’] = ‘A’;

  7. aubergine
    February 5th, 2009 at 15:14 | #7

    Hi admin
    For me this link also broken
    may you please send me the DotProject – Mantis module to the mail.

    Thanks a lot

  8. October 9th, 2009 at 20:57 | #8

    Here’s a link to the download list where the latest version of the Mantis Integration Plug-in is listed:

    For the lazy ones among us, here’s a link to the latest version, 04b:

  9. Marcel
    October 18th, 2009 at 19:18 | #9

    Basically works, well done. Excellent.
    Tried another RPC method earlier, didn’t work.
    Here we are getting somewhere.

    But interestingly, the issues are giving wrong description.
    Created a test project in both DP and Mantis.
    Added an issue via Mantis.
    That manti id & summary is given perfect.
    But the description is from the issue id-1 (one previous).

    Anybody experienced the same?
    And has a solution?


  10. Marcel
    October 18th, 2009 at 19:52 | #10

    Also I was wondering if it is possible to show the mantis issues from the sub projects that are created in Mantis but not in dp.

Comments are closed.