It's all about the answers!

Ask a question

How to export DNG Requirements using plugins to RequIf or using any other scripts.


Pavan M (393) | asked Sep 08 '21, 4:22 a.m.
edited Sep 08 '21, 4:32 a.m.

 Hii,


I had a requirement that we need to export the DNG Requirements to requIF format using plugins or by using any other way. Please let me know is there any other possible way to do this requirement.

Thank you,
Regards,
Pavan m.

One answer



permanent link
Ian Barnard (1.9k613) | answered Sep 20 '21, 12:24 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.