Import requirements from Word document including requirements attributes
In DOORS NG version 5, I'm looking for a capability to import requirements from a Word document (to preserve formatting and include images) including requirement attributes as possible in a CSV import.
The attributes are adjacent to the requirement either in a table containing the attribute names and the values or as tagged paragraphs (like "Priority: high").
Is there an option to achieve this, or do I have to set all requirement attributes manually after the import? Any idea or workaround is appreciated.
4 answers
Also looking to see if this is possible. From what I can tell you can only create Artifacts from a Word document import, and cannot set any attributes on those Artifacts.
First I have logged an enhancement request: Enahncement 102150 (but no activity on it so far).
I use currently the following 4 step workaround with the new CSV import capability to update requirements, available since v6.0.1 https://jazz.net/downloads/rational-doors-next-generation/releases/6.0.1?p=news#1003
I use currently the following 4 step workaround with the new CSV import capability to update requirements, available since v6.0.1 https://jazz.net/downloads/rational-doors-next-generation/releases/6.0.1?p=news#1003
-
Import requirements from Word (make sure you have some unique identifier/prefix in the name).
- Export the imported list of requirements to CSV to get all the artifact identifiers.
- Adding the attributes (or merging them through Excel functionality VLOOKUP) to this CSV file
- Import this CSV (since V6.0 the round trip capability is supported by DNG; before I used my own extensibility script)
Another option I use in some cases (was my learning how to use client side extensions in DNG):
- through Word macro processing attributes have been added to the requirements text in special format [%attribute=value].
-
after the import I use a Client Extensibility Script of DNG to search and transfer such entries to appropriate attributes (has limitations, and is pretty slow)