Gantt Chart for Mantis
Moderators: Developer, Contributor
Gantt Chart for Mantis
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
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
A good place to host the source would be http://git.mantisforge.org
Re: Gantt Chart for Mantis
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.
![Sad :(](./images/smilies/icon_sad.gif)
Re: Gantt Chart for Mantis
So is a step-by-step instruction guide available? ![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
-
- Posts: 3
- Joined: 14 Apr 2011, 08:31
Re: Gantt Chart for Mantis
danieln
will be nice if you share this.
will be nice if you share this.
Re: Gantt Chart for Mantis
I'm also interested ![Smile :-)](./images/smilies/icon_smile.gif)
![Smile :-)](./images/smilies/icon_smile.gif)
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Re: Gantt Chart for Mantis
Is this already downloadable somewhere?
Re: Gantt Chart for Mantis
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).
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Re: Gantt Chart for Mantis
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.
Feel free to feedback.
- Attachments
-
- gantt_api.zip
- Patch correcting a problem with Mantis Due Date usage instead of custom field.
- (5.81 KiB) Downloaded 2514 times
-
- MantisGanttChart.zip
- MantisGanttChart Plugin zip file
- (26.2 KiB) Downloaded 2977 times
Last edited by AlainD. on 17 Mar 2012, 22:31, edited 1 time in total.
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Re: Gantt Chart for Mantis
Alain,
I am not using custom fields , still i get the message "Custom field not found"
I am not using custom fields , still i get the message "Custom field not found"
Re: Gantt Chart for Mantis
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à.
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à.
- Attachments
-
- Example of gantt chart
- example_001.png (16.69 KiB) Viewed 90717 times
-
- example of custom field to use
- bug_page.png (11 KiB) Viewed 90717 times
-
- config page example
- config_page.png (13.53 KiB) Viewed 90717 times
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Re: Gantt Chart for Mantis
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.
AlainD.
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
ti lamp, ti lamp n'arivé!
Mantis: 1.2.5
PHP: 5.2.0
OS: Linux (etch)
Plugins: MantisGanttChart | Mantis Graphs | Source Control Integration | Subversion / WebSVN Integration
Re: Gantt Chart for Mantis
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
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
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.
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
http://www.mantisbt.org/bugs/view.php?id=13169#c29261 i have my issue about your plugin installation ... please help me find out.
thanks.
thanks.