It's all about the answers!

Ask a question

DOORS interface - Export requirements and import/merge requirements


Scot Penrod (111) | asked Jun 11 '13, 6:59 p.m.
retagged Jun 12 '13, 10:32 a.m. by Michelle De Armas (2612)

I've seen information about how to use DOORS to export requirements into a CSV file, but is there a way to use an API to extract requirements in a similar fashion?

The objective would be to use .Net to pull a list of requirements from DOORS and a way to automaticaly add new requirements into DOORS based on a particular event in a .Net web application.

Are there any best practice documentations for ways to go about doing those two things?  Or is there some other article or forum posting to show an example of communication with DOORS using .Net?  (DXL or the C API?)

2 answers



permanent link
Vatsala Ramachandran (12314) | answered Jun 12 '13, 7:42 a.m.
Hi Scot

Yes, this is very much possible using DXL. You could write your own dxl batch file which can be run silently (without having to open the DOORS GUI). and that batch file can be called from .Net

So, both pushing data in and pulling data out can be achieved using DXL

Please refer to the dxl help for more information on how this can be done

http://pic.dhe.ibm.com/infocenter/doorshlp/v9/topic/com.ibm.doors.configuring.doc/topics/c_dxl.html?resultof=%22%64%78%6c%22%20%22%6d%61%6e%75%61%6c%22%20

Thanks,
Vatsala

Comments
Scot Penrod commented Jun 12 '13, 8:53 a.m.

Is there a way to interact directly rather than creating and running bat files on the server that is running DOORS?

If bat files are the only option then I'll go down that road, but I just wanted to check first to see if there were any more options with Jazz that would be a more direct approach.

Thanks


Vatsala Ramachandran commented Jun 12 '13, 11:39 a.m.

If you want to use DOORS then DXL is the only way you can do this and you need batch files for that

But if you are referring to DOORS Next Generation (the latest rich client on Jazz), then DXL is not an option you can use there. For that, you may have to perform these operations probably through OSLC.

Thanks,
Vatsala


permanent link
Daniel Moul (4.9k1318) | answered Jun 12 '13, 9:20 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
@spenrod the best place to ask for help with DXL is in one of the DOORS 9 forums; in fact there is one specifically for DXL:

https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000001527

Your answer


Register or to post your answer.