Home > Research > dotProject and Mantis Integration and Configuration

dotProject and Mantis Integration and Configuration

October 17th, 2007 admin Leave a comment Go to comments

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
http://www.nuy.info/downloads/index.php?dir=Developments%20by%20Application/DotProject/

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 ;

To

$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:

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/sunilb/www.sunilb.com/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:245) in /home/sunilb/www.sunilb.com/wp-content/plugins/mycaptcha/MyCaptcha.php on line 41

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sunilb/www.sunilb.com/wp-content/plugins/all-in-one-seo-pack/aioseop.class.php:245) in /home/sunilb/www.sunilb.com/wp-content/plugins/mycaptcha/MyCaptcha.php on line 41
  1. Antonio
    April 9th, 2008 at 22:13 | #1

    Hello

    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.

    Regards

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

    Hi,

    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 .

    thanks
    praveen

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

    IT WORKED!!

    THANKS!

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

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

    :/

    Any ideas?

    Walter

    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’;

    To:

    // 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:
    http://www.nuy.info/apps/owl/browse.php?sess=0&parent=118&expand=1&order=name&curview=0

    For the lazy ones among us, here’s a link to the latest version, 04b:
    http://www.nuy.info/apps/owl/download.php?sess=0&parent=118&expand=1&order=name&curview=0&binary=1&id=675

  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?

    Thanks!

  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.

  1. November 8th, 2007 at 21:13 | #1
Enter this code to leave comment (Sorry, but bots get me crazy :) )