dotProject and Mantis Integration and Configuration

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.

Your email:  
Subscribe Unsubscribe  

del.icio.us Reddit Slashdot Digg Facebook Technorati Google StumbleUpon Windows Live Furl Netscape Yahoo Bloglines Bookmark.it Ask Spurl Diigo

7 Responses to “dotProject and Mantis Integration and Configuration”

  1. […] read more | digg story […]

  2. 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

  3. 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

  4. hello,

    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 - dp@marcomatos.com

  5. IT WORKED!!

    THANKS!

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

    :/

    Any ideas?

    Walter

    PS DLed v04b

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

Leave a Reply

Top Internet blogs Programming Blogs - Blog Catalog Blog Directory TopOfBlogs Technology blogs Top Blog Topsites List