IBM Support

How to make the requirement unique if you have similar object id in two different modules in the IBM Rational DOORS

Troubleshooting


Problem

You might have multiple requirements which are defined in multiple modules having similar object id. Hence IBM Rational Rhapsody consider this as a duplicate requirement and import only one of these as requirement.

Symptom

You will not find all the requirements imported in IBM Rational Rhapsody from two different modules which are having similar object ids in Rational DOORS.

Cause

IBM Rational Rhapsody consider this as a duplicate requirement and import only one of these as requirement.

Environment

IBM Rational Rhapsody importing requirement through Gateway.

Diagnosing The Problem

If you have multiple Rational DOORS module associated with IBM Rational Rhapsody gateway and you are not finding all the requirement listed in IBM Rational Rhapsody after import, then please check the following:

  • Check for the object id of the missing requirements .
  • Check if similar object id is present in other DOORS module also and that requirement is listed in Rational Rhapsody.
  • Check for the error in rules checker in Rhapsody Gateway page.
  • Check for the below error:
    Requirement defined in several documents, and the documents are covered by a shared document

    So it means two documents are covered by the same document and each of them contains a requirement, a derived requirement or a macro-requirement whose identifier is identical to an identifier contained in the other document.
  • Hence now you need to make you requirement more unique.

Resolving The Problem

Work around to solve this problem :

Now we know that requirements are defined in multiple DOORS module with similar object id, in order to make the requirement more unique you can follow the steps:

  1. Open Doors Module
  2. Open file->Module Properties.
  3. Click on Prefix : Give an appropriate name based on your project .
  4. Do the same steps for the second module also.
  5. Now with this step All the ids will come with a prefix given and now it will be unique requirement.
  6. Now you try to import this two module to Rhapsody through gateway.
  7. As now we have made the requirement unique , you should get all the requirement proper and you should be able to link it also properly.

Similar way there could be other work around thought to make the unique requirement for Rational Rhapsody gateway.

You can add an attribute ReqID to the DOORS module and reversed the Requirement attribute, so the default is False. This is because all the objects mentioned as requirements might not be true always.

So whichever are the actual requirement, you can give the ReqID number for the same and those requirement will be imported .

So that in different module even if the Object id is same but the requirement id will be different so there wont be any problem for importing .You can see the Door types "Doors Advanced" there the ReqID is checked.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg22006279