ReqIF is an open industry standard (OMG) for exchanging requirement documents between RM tools. It is based on a generic XML format and supports synchronization of complete requirement documents with preserving requirements hierarchy and traceability, data types and attribute definitions, rich text formatting, embedded data objects (images) and access rights.
ReqView can import ReqIF files exported from IBM Rational DOORS (DOORS) or IBM Rational DOORS Next Gen (DNG) preserving the document structure, rich text format, definition of custom attributes and image attachments.
Open chosen DOORS module to be reviewed offline.
Define enumeration type ReqView_Status_Type containing following values ‘Draft’, ‘Approved’ and ‘Rejected’ by menu Edit / Types.
Define following attributes with given types by menu Edit / Attributes:
For all requirements set value of ReqView_Status attribute to a chosen default value.
Create ReqIF export definition by selecting the project containing exported module and choosing its properties from File / Properties menu. Add the exported module and include ReqView_Status, ReqView_Discussion and ReqView_History attributes. It is good practice to lock these attributes for edit by DOORS users by means of access rights or by Lock attributes option in ReqIF definition. See DOORS help for more details.
Export the module to a chosen ReqIF file by clicking Export button.
Choose Manage Project Properties from right up Administration icon menu.
In Attribute Data Types tab define new enumeration type ReqView_Status_Type containing following values ‘Draft’, ‘Approved’ and ‘Rejected’.
In Artifact Attributes tab define following ReqView attributes:
In Artifact Types tab add all new ReqView attributes created in the previous step to Requirement artifact type.
Create a new view for the chosen module to be exported called ReqView_Export_View and add into it columns with all ReqView attributes.
In ReqIF tab create a new ReqIF definition and include the chosen requirements module for export by clicking Add Artifact button, select ReqView_Export_View for export.
Export the ReqIF definition by clicking on Export from menu on the right of its name. Download the ReqIF file to a chosen location.
Before opening a ReqIF document in ReqView you need to convert it to internal ReqView JSON data format by Running ReqView Synchronizer command line tool.
Prepare configuration file for conversion of a DOORS ReqIF export into ReqView JSON data format. Following example shows configuration file for DOORS:
Please note that the name of DOORS attributes in ReqIF might differ depending on DOORS version. For instance you might need to use following configuration file for DOORS 9.5:
Convert the ReqIF file into ReqView by running ReqView Synchronizer with following command line arguments:
$ synchronizer.exe --import -i <file> -f reqif -o <file> -c <file>
$ synchronizer --import –i ReqViewUserNeeds.xml -f REQIF –o ReqViewUserNeeds.reqw –c config.json
Send the created JSON file to a reviewer.