Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Where to find examples of use of OSLC API's in Excel?

Hello,

I'm using RQM 4.0.3.
I would like to use OSLC apis to populate Excel Worksheet.
I browse the official RQM documentation but there is no good starting examples. I don't find any good simple example using Excel VBA to have a good base for starting.   
Do you know a link where such information exists?

Thank you in advance
Pascal Jean

0 votes



2 answers

Permanent link
Hi Jean

I'm not familiar with using OSLC API's in Excel/VBA, but if you have plans to upgrade to 5.0.1 you can use the Jazz Reporting Service (JRS) to provide live query results to Excel via a web query.  I've attached some screenshots of how this looks after going through a simple exercise to show all Work Items in one of my RTC repositories.  JRS is bundled free with RRDI if you wanted to explore this in a sandbox first.  Hope it helps,





I get a report back with a page that looks like this:





My report is simple, but there are a lot of nice ways to slice and dice the data using the JRS editor, and any of those queries can be exported to Excel in the same way.  Maybe this will be an easier solution than what you are intending to do with 4.0.3?  However the minimum version of CLM needs to be 5.0.1 before you can use this method.

0 votes

Comments

Thank you Benjamin,
This looks interesting. However we do not plan to upgrade within the next 6 months...
I'll keep your answer in mind until the upgrade.
Thank again
Pascal Jean


Permanent link
Hello,

I'm very familiar with OSCL. it is possible to extract the QM artifacts in the OSLC way to Excel. This could be done not only with VBA (I'm not good enough in VBA), but with a java library for Excel like Apache POI. Eclipse Lyo is an SDK to help developers extend their applications with OSLC capabilities. You could use the LYO class at http://git.eclipse.org/c/lyo/org.eclipse.lyo.client.git/tree/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/RQMFormSample.java to fetch the test cases from RQM. Then you could save them to an Excel sheet.
It is possilble to develop the same library purely in VBA but you would need to parse all the RDF/XML documents by yourself from the rootservices document, to every single QM artifact.

Best regards,
Jean-Luc Johnson

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,927
× 515

Question asked: Nov 17 '14, 11:33 a.m.

Question was seen: 5,601 times

Last updated: Nov 18 '14, 11:18 a.m.

Confirmation Cancel Confirm