We’ve been running Intland’s CodeBeamer on the OpenAmeos community platform scopeset.de for quite a while now. Overtime, we’ve made some extensions which we’d like to share here. This article is the first in a series which will highlight some of these customizations.
Scheduling tasks, the challenge
Typically, in any issue tracking system, you work with a list of tasks. This list might be categorized or might be broken down hierarchically, but when it comes to scheduling tasks, you typically do that by moving around task bars in a Gantt chart. This is where the idea started to integrate a project management tool into CodeBeamer so that it would allow to schedule (and monitor) tasks which had previously been created in CodeBeamer. CodeBeamer’s API is well suited to provide the necessary hooks.
The workflow
The following diagram illustrates the workflow which is used for task scheduling with CodeBeamer and GanttProject:
Implementation
As project management tool, we chose GanttProject, for the primary reason that it suffices for the scheduling activity and that it has a relatively simple XML storage format. The required Java code is a straight forward implementation which uses CodeBeamer’s remote API to export all tasks for a given milestone into GanttProject’s XML format.
The following data is exported into the Gantt chart:
- Estimated hours
- Spent hours
- Assignee
- Hierarchical breakdown
- Dependencies
Additionally, task bars can be color coded for different assignees (or red for over-time).
After having scheduled the tasks in GanttProject, the XML file is then imported back into CodeBeamer, task start and end dates as well as task dependencies and parent child relationships are updated.
Noteworthy to mention on the implementation is the usage of a task-type-independent and task-type-specific layer of DTOs on top of the API DTOs. This allows to share common functionality for different exporters and importers.
Source code
The source code for this integration is available on javaforge.com
Next in this series will be an article on a Wiki ChangeLog plugin.

Excuse me! , How to download the source code for exporter and importer?? thanks
I uploaded the code this morning to javaforge.com
Thanks , I’ve go to javaforge.com for downloading source code ,but seems I didn’t have the SCM source code browsing and checkout privilege , I’ve javaforge.com account named “maoyang” , Please help me setup the source code downloading privilege , thanks again
You should be able to join the project now.
I still got error message
The account “MaoYang [34]” is not authorized to open this document. Are you logged in with the proper account?
I wonder that you didn’t setup wiki page reading privilege for me
Ok , I just join this project , forgot my previous comment , thanks
Excuse me! , I’ve joined this project , but still cannot see Source code, Please help me check that, thanks
Should work now.
thanks , what’s the svn URL for checking out source code ??
http://svn.javaforge.com/svn/tasks2ganttproject/
Thanks , I’ve checkout the source code , How to run this java program
??