Have you worked with RTC, RQM or any other IBM Jazz based tool? Maybe you needed to import or export data via your own script?
There are some examples in Java and C# showing how to interact with RQM in this document. My preference was python. This post is a little example how to use python to interact with RQM server.