Username:
Password:
Please type the Two words with a space between them to prove you are a real human being.
There are several approaches to migrating data from IBM Rational® DOORS®, into Cradle:
Other possibilities will appear when the Cradle Gateway module is released.
Each approach has its advantages and disadvantages:
When migrating data from DOORS into Cradle, it is important to understand that the basic unit of data in DOORS is the module, and that there are two types of modules relevant to data migration:
It is also important to understand that there are two types of cross references in DOORS:
So to migrate one set of information from DOORS to Cradle, we need to migrate:
As an example, for a set of user requirements, the information could be:
and we would load these two sets of data into Cradle:
And to migrate two related sets of information from DOORS to Cradle, we need to migrate:
As an example, for a set of user requirements in one module linked to a set of system requirements in a second module, the information could be:
Thankfully, everything is much simpler in Cradle:
Construct a view that shows the attributes of the objects that you want to export and select File → Export → Spreadsheet… and in the Export Spreadsheet – DOORS dialog, select Displayed columns and All objects and Include attribute names/column titles in first row:
You can also select the attributes to export from an attribute list.
Select Export and DOORS creates a CSV file containing all of the objects in the module (or all of the objects that you chose to display). There will be one record in the CSV file for DOORS each object, that is, one CSV record for each piece of information that will become an item in Cradle.
In the above example, you would do this step twice, once from the user requirements module and once for the system requirements module.
When you create each export, be sure to export the requirements’ IDs. In DOORS, this is the Object ID attribute, which DOORS guarantees to be unique. This is the value that will be used to create cross references in Cradle.
The typical mappings between DOORS and Cradle attributes is:
The CSV files produced by this process can be imported directly into Cradle.
To export the internal cross references for each module, you need a view that lists each object that has a parent in the module, and that parent. Since DOORS does not allow an object to have multiple parents inside a module (DOORS does not allow many-to-many linking inside a module, which is a disadvantage of DOORS that is helpful in this context!), an object can have at most one parent.
You display these objects in a view with two columns:
You repeat this process for each module to be migrated.
The external cross links between items in separate object modules are held inside link modules. You cannot export the link module directly, but you can create a view that uses the link module to display the linked items from the two modules.
You need to run a filter that lists only those objects in the first module that are linked to objects in the second module, and then display these objects in a view with two columns:
You repeat this process for each link module to be migrated.
When you have produced CSV files with each set of internal and external links, you must add some extra columns to allow them to be imported into Cradle. This is because Cradle needs more than a pair of IDs to import cross references.
To import a cross reference from a CSV file, Cradle needs:
As an example, starting with the set of external links from the previous example, the export from DOORS would produce a CSV file which, when opened in Excel, would be:
Rename the columns to be From Number and To Number so that it is easier to import:
Add the other columns needed to import cross references:
The order does not matter:
Add the values for the new columns:
The data in the resulting CSV file would be:
,NOTE_NOTE,MH_IGNOREMODEL,UR,UR4,,MH_IGNOREMODEL,SR,SR4 ,NOTE_NOTE,MH_IGNOREMODEL,UR,UR7,,MH_IGNOREMODEL,SR,SR2 ,NOTE_NOTE,MH_IGNOREMODEL,UR,UR8,,MH_IGNOREMODEL,SR,SR8 ,NOTE_NOTE,MH_IGNOREMODEL,UR,UR8,,MH_IGNOREMODEL,SR,SR14
When this CSV file is opened in Cradle, the fields are automatically assigned:
The cross references will be imported when you select OK:
You can verify the cross references that have been imported by selecting Log… to display the import log:
You would use this process for all cross reference exports from DOORS, both the internal links and the external links.
Back to the newsletter archive.