Page 1 of 5

Gantt Chart for Mantis

Posted: 27 Mar 2011, 14:51
by danieln
Hey
I have developed a plugin which is based on the jpgraph library which creates a gantt chart for Mantis.

At the organisation I work for, we use mantis as a task manager for all employees.

I am interested in sharing it with the Mantis community however I am concerned about not following all the Mantis Development conventions.

It is fairly customized but can be easily adopted for any use.

How should I go about uploading it etc.


Thanks

Re: Gantt Chart for Mantis

Posted: 27 Mar 2011, 18:56
by atrol
A good place to host the source would be http://git.mantisforge.org

Re: Gantt Chart for Mantis

Posted: 10 Apr 2011, 21:05
by cor3huis
Have not seen it appearing in http://git.mantisforge.org/ It would be a waste isf all your hard work is not used and improved by other mantis users :( If you have any issues of how to do this let us know and we will guide you to uploading the plugin.

Re: Gantt Chart for Mantis

Posted: 14 Apr 2011, 07:01
by cas
So is a step-by-step instruction guide available? :roll:

Re: Gantt Chart for Mantis

Posted: 14 Apr 2011, 14:28
by maschneider
danieln

will be nice if you share this.

Re: Gantt Chart for Mantis

Posted: 14 Apr 2011, 21:26
by AlainD.
I'm also interested :-)

Re: Gantt Chart for Mantis

Posted: 10 May 2011, 13:18
by TomR
Is this already downloadable somewhere?

Re: Gantt Chart for Mantis

Posted: 10 May 2011, 19:58
by AlainD.
Since we had no answer, I started to develop myself a plugin too based on gantt chart. I will git it on the plugin server as soon as possible. I'll let you know when it is available, and try to make a doc too (I'm afraid my code is not well commented for now).

Re: Gantt Chart for Mantis

Posted: 18 May 2011, 12:15
by AlainD.
I tried to upload the plugin to the git.mantisforge.org repo but it failed from my office (proxy security settings maybe). I will try it later at home. In the meantime, I attached a zip file of it if you want to try it...

Feel free to feedback.

Re: Gantt Chart for Mantis

Posted: 18 May 2011, 13:33
by cas
Alain,
I am not using custom fields , still i get the message "Custom field not found"

Re: Gantt Chart for Mantis

Posted: 18 May 2011, 13:54
by AlainD.
I didn't try it much without custom field... I will try. Can you tell me what settings you used ?
This is mine: (or ch attachment)

Mantis Gantt Chart: Configuration
Show Gantt Roadmap On Off
Field to use for the end date Due Date Custom field
Custom field
Use a custom field as estimated start date On Off
Custom field for Start Date


Normally, the plugin should use custom field to build the gantt charts. If not, it should use the due date. But I maybe missed a check maybe when no estimated date field is provided...
I'll check it out.

Edit:
##########
Maybe I should add a note on how it calculates the dates...
- The bug list are retrieved from 2 options: or from the filter page (View Issues page), Or from a dedicated new menu "Gantt Chart Roadmap".
- From the "Gantt Chart Roadmap" menu, The gantt charts are build for a couple project/version.
- The start date of an activity is or the creation date, or the assigned date, or the estimated start date if available.
- For each bug: If the bug has not been assigned yet, it is considered as a not started activity (displayed as a MILESTONE type on the gantt chart)
- The end date the start date + estimated end date if still opened, or the resolution date if resolved.

VoilĂ .

Re: Gantt Chart for Mantis

Posted: 23 May 2011, 09:11
by AlainD.
I didn't manage to put it on the git server. I don't really know how to create a new project for my plugin, and upload it on the server. It's like I need some administrator password, or something. I'm waiting for Paul to give me some help on the procedure.

Re: Gantt Chart for Mantis

Posted: 09 Jul 2011, 13:27
by fman
I've following issue

1. created two custom fields (CF) of type DATE START DATE, END DATE
2. configure plugin to use these CF
3. Created project A with version 1
4. issue with START DATE 2011-07-01 END DATE 2011-07-02
5. assign issue to administrator
6- click on main menu bar on 'Gantt Chart Roadmap '
7. got page with 'Project A', version 1
8.click on version 1
9. got following JPGRAPH issue 'illegal sizes ' width =-132866', height=166

environment
last JPGRAPH for PHP 5
Fedora 14
LAMPP 1.7.2

Any hint ?

regards

Re: Gantt Chart for Mantis

Posted: 09 Jul 2011, 18:14
by fman
Solved ! was my fault because I've configured:

Use Case #1 - KO
Field to use for the end date YES -> give custom field named START DATE (type date)
Use a custom field as estimated start date YES
but LEAVE BLANK Custom field NAME
seems this combination is fatal !|!

Use Case #2 - KO
Field to use for the end date YES -> give custom field named START DATE (type date)
Use a custom field as estimated start date YES use a Custom field (type date)
seems this combination is fatal !|!


Use Case #3 - OK
Field to use for the end date YES -> give custom field of TYPE NUMERIC
Use a custom field as estimated start date YES
but LEAVE BLANK Custom field NAME
WORKS OK

do not know there is an easy way to add some checks to give alert to user due to wrong config.

Re: Gantt Chart for Mantis

Posted: 22 Jul 2011, 07:16
by fonnnnnn
http://www.mantisbt.org/bugs/view.php?id=13169#c29261 i have my issue about your plugin installation ... please help me find out.

thanks.