Microsoft Project Export-Import and Roundtrip #606907/HEAD / v9917 |
Tags:
Project
Microsoft Project Export-Import and Roundtrip
The Microsoft Project export and import features are deprecated and not maintained anymore since Codebeamer release 8.1.0.
Table of Contents
Microsoft Project IntegrationWith the new Microsoft Project integration users can exchange data with Microsoft Project for better planning and scheduling tasks and resources. That is:
Let's see the details: Exporting to Microsoft ProjectExporting to Microsoft Project will export the most important project-planning, resource and task information from Codebeamer for processing it in Microsoft Project. Initiating an Export in CodebeamerThe Microsoft Project export just accessible via the same menus and appears on the same dialog where the Word and Excel exports appear. Just go to any tracker (Bug/Task/Requirement) and in the "more" menu you will find the "Export to Office" option. This is available both on the normal table-view of a tracker and when using the Document View as well. Then in the export dialog choose the "Microsoft Project export" option.
The export will start and an XML file will be generated soon and download will start. Unfortunately the export XML file can not be directly opened in MS-Project, and an error will appear if you try to do so:
So to open the export XML file first:
What is Exported?The export contains followings:
Mapping of Codebeamer Fields to MS-Project TasksThe mappings is:
Item Description and Hyperlink to ItemThe description of the items will appear as a small Note icon in front of the Tasks in MS-Project. The limitations are:
Also a small blue link icon will appear in front of each Task, which is a hyperlink pointing back to Codebeamer. By clicking on that the original item will open in the web-browser, which makes navigation from MS-Project very easy.
Scheduling: Dates, Durations and ProgressAs mentioned the "Start Date" and "End Date" from Codebeamer are exported to "Start" and "Finish" properties to MS-Project. The duration fields like the "Estimated Hours" and "Spent Hours" are exported to the "Duration" and "Actual Duration" fields. Also MS-Project will automatically calculate the "% Complete" value from the ratio of "Actual Duration"/Duration. Task types: Manual versus Automatic SchedulingAny Tasks in MS Project can be either in Manual Scheduling mode or in Automatic Scheduling mode. This is an important setting, which affects how the Task is scheduled and handled by MS Project in general. That is:
For more information see: Manual vs automatic schedule: How scheduling works in Project? In Codebeamer MS Project export and import you can control how the exported Task will be scheduled on the UI. The options are shown in this screenshot: So either:
The "Smart" mode means that the Task will have Automatic schedule if:
The "MS-PROJECT AUTO_SCHEDULED" or "MS-PROJECT MANUALLY_SCHEDULED" tags are added during import from MS Project in order to keep this information for the future updates. You can also add these tags manually if you want to control how each task is exported. That is how the tag looks like on the a work-item:
Converting Between MS-Project Durations and Hours in CodebeamerIn MS-Project the task durations can be set to values like "1 day" or "1 week" or "1 month", however these has different meaning from the traditional day or weeks, as they mean actually one work day or one work week. One work day is typically 8 hours, and one work week is typically 5 "work days", which mean 40 work hours. Even these numbers may vary depending on the calendar, yet during export/import to Codebeamer such differences are ignored. However to get an approximately correct conversion from the MS-Project durations like "1 day" during the import we take account of these differences. The meaning of each duration is automatically picked up from the settings in the MS-Project file. These can be found by using the "File->Options" menu inside MS-Project, and then click on "Schedule". There you will see these settings: These values can be configured here, and their defaults are:
The same values are also configurable during MS-Project export, which puts these values to the export file: User/Role Assignments to ResourcesAs the items (tasks/bugs etc...) can be assigned to several users and roles in Codebeamer these assignments are exported to as Resources and Resource assignments to MS-Project. The rules are:
Here is an example Resource: Here is how the AssignedTo converted to Resources: Exporting DependenciesIn MS Project you can define dependencies between Tasks, and such dependencies will drive and greatly determine the schedule calculations done by MS Project. The MS Project export of Codebeamer will also create the appropriate dependencies. If there is a "depends on" association between two exported work-items (bugs/tasks) then the generated MS-Project export file will also contain these. For example the "Secure project sponsorship" contains a dependency to "Determine project scope" task. When exporting that will appear in the Predecessor field as dependency in MS Project. Following screenshot illustrates how a "depends on" association in CB will create an Predecessor dependency in MS Project. What is happening here:
See: Linking Project tasks tutorial Priority MappingThis is how the CB priorities are mapped during export:
The Requirements trackers has different priority levels which are actually stored in the Business Value field. These are mapped as:
During the import the mapping is reversed. However because the priorities in MS-Project can be an arbitary number between 0-1000, the mapping is performed to the closest priority number in the mapping table above. For example the 310 priority is mapped to "Low", while the 490 priority number is mapped to "Normal". Exporting Story PointsDuring export the Story points assigned to Codebeamer work items can be converted to the "Duration" hours in MS Project. This conversion is only happening if you enter a ratio of how many hours does a Story point worth. That is appearing on the export page: For example if you enter the number 4 there that means that every Story Point worths 4 hours. So a 2 Story Point value will become 8 hours in the Duration of the appropriate MS Project task. Note however that Story Points are only converted if the exported work item's Estimate Hours field is empty. This won't overwrite the value there! Export of Other Codebeamer Properties as Custom FieldsAny other Codebeamer fields which are not mapped to a specific MS-Project field are exported as custom fields. Such fields get a "cb_" prefix, for example "Submitted by" appeas as "cb_Submitted by" in MS-Project. Such fields can be displayed and used in various views of MS-Project: These are available for convenience and for analysis, yet these are not used nor imported back later from MS-Project during roundtrip. Known Limitations of Exporting
Missing pieces:
Importing from Microsoft ProjectYou can also importing planning information and Tasks from Microsoft Project into a tracker. That way:
The import will:
Initiating an Import in CodebeamerThe MS Project import can be found on the same location where other kind of imports (Word and Excel) are: in the tracker's "more" menu by clickin on the import will start the import wizard where MS Project files can be imported too. You can upload an *.mpp or a *.xml file (the latter is the XML export compatible with Microsoft Project) here. After an MS Project file is uploaded the importer wizard will behave similarly to how it works with Excel import or Excel roundtrip. Each Tasks from the MS Project data will in a new line, with the importable Task properties are in one column. You can also adjust mapping and do conversion if necessary the same way as you would do with an Excel import there. Mapping Fields During ImportMapping during import is automatic, and it is essentially same of what happens during export: Microsoft Project Export-Import and Roundtrip The key differences are listed in the followings. Finding and Updating Existing Work Items: Hyperlinks to ID FieldWhen importing a MS Project to Codebeamer the importer will look for the "Hyperlink" field of MS Project tasks, and if that hyperlink points to a Codebeamer work item (bug/task etc...) then the import will update that found work item. This is how you can synchronize the existing work items with the MS Project tasks. The ID-s of the work item's found are appearing on the import UI as following screenshot shows: Creating New Work Items from TasksYou can also add new Tasks in MS Project to an export document originating from Codebeamer. When adding a new Task Codebeamer will automatically recognize that this is a new Task (because it has no hyperlink to a Codebeamer work item). The importer GUI will indicate that this is a new data, and a new work item (but/task etc...) will be created from this. As consequence you can use following tips:
Importing to DescriptionAs mentioned during the export the "Description" field of CB work items are exported to the "Notes" field in MS Project. You can potentially modify this information by editing the Nodes field, however you can not modify the Description field this way, because the import ignores this field for existing work items. (It is ignored because this field is typically abbreviated to 1000 characters) However for new work items being created the Notes field will be used, and will be inserted as Description field. Scheduling Fields: Start and End Date, Planned Effort and Spent EffortThe Start/End date and Planned Effort/Spent Effort fields are imported from the appropriate Task fields of MS Project. The Durations like "1day" is automatically converted to the appropriate number of hours (8h) according to the Duration conversion rules described earlier. These fields are typically calculated or updated by MS Project during the work in MS Project, therefore these are likely will be changed.
Note: that the Planned Effort and Spent Effort fields are calculated fields in Codebeamer, and they may change next time when you update a work item of the imported items. However the importer will disable these calculations during import simply to get the same values calculated by MS Project. If you don't want these fields be overwritten by Codebeamer then you should reconfigure the tracker and disable propagation and calculation for these fields.
Importing Parent-Child HierarchyThe import will also update the parent-child hierarchy of existing work-items. So if you would for example move a Task in MS Project to a different parent then this change can be reflected in Codebeamer too. So the import will automatically update the parents from MS Project, except if you turn this feature off on the UI. Turning off means that parent-child hierarchy won't be imported, and the hierarchy of work-items in CB will remain unchanged. Importing DependenciesWhen importing from MS Project the importer will also take care of importing Predecessor-Successor dependencies between Tasks. That is performed by creating "depends on" associations between the imported work items. See also: exporting dependencies. The importer creates a special "depends on" association for such imported dependencies. That is recognized from its comment as shown below. The comment also contains the Predecessor dependency type. The MS Project importer and exporter automatically synchronizes dependencies such a way that:
AssignmentsThe Resource assignments are imported too from Tasks to "Assigned to" fields. The mapping rule is simple - same as during export -: it tries to find the same account by name as the Resource's name. Roles are found/mapped using the "XXX Role" naming convention, for example "Tester Role" resource is mapped to "Tester" role. However if you want to bind a certain Resource in MS Project to a certain user-account or role in Codebeamer that can be done by:
For example: you have a "Management" resource in MS Project. By setting the "cb_account" custom field to "bond" will make assign the Tasks of this Resource to "bond" user when importing to Codebeamer. These screenshots show how to do this:
|
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.