How to export DNG Requirements using plugins to RequIf or using any other scripts.
One answer
Hi Pavan
DOORS Next has a reqif API which allows programmatic export (and import). See https://jazz.net/wiki/bin/view/Main/DNGReqIF
Typical flow for export is:
1. Find the reqif definition using the queryCapability for reqif definitions
2. POST to the export factory XL for the ReqIF Export Resource referencing the reqif definition to start the export - you'll get a 201 response with a tracker indicated by the returned header Location
3. Poll the tracker - every 10s will likely be sufficient; no point going faster than (say) 2s. - until it indicates completion
4. From the completion you can download the export report.
Import is pretty much the same flow.
The API also allows you to CRUD on the reqif definitions so you could automate creating a new definition then exporting it - but it's much simpler to start by manually creating the definition.
Note don't attempt more than one export/import at once; wait for it to finish (as indicated by the tracker) before starting the next.
HTH
Ian