It's all about the answers!

Ask a question

How to fetch collection contents in RM DNG programmatically


0
1
Chandan M B (1133473) | asked Jun 16 '15, 7:23 a.m.
edited Jul 03 '15, 1:25 a.m. by Ralph Schoon (63.1k33645)
Hi,

I have a workitem linked with the requirement DNG. I need to fetch the requirement contents,summary and other attributes programmatically using java.

What is the approach and how to do it ?

Regards,
Chandan

2 answers



permanent link
Beth Beese (312) | answered Jul 22 '15, 11:58 a.m.
 Hi Chandan-

Where is the linked artifact located? e.g. DNG or RTC? 
If in another Rational application, there should be native functionality to retrieve the attributes. If it is in a 3rd party system like HP ALM, you can use Rational Lifecycle Integration Adapters (RLIA-Tasktop Edition) to retrieve the details. You can learn more about RLIA-TE here:

http://www-304.ibm.com/partnerworld/gsd/solutiondetails.do?&solution=46335&lc=en

Please feel free to reach out to me if you have any questions!
Thanks and Best
b

Beth Beese 
| Business Development Manager | Tasktop Technologies
phone: 647-938-3759
| web: task top.com | skype: beth.beese-tasktop


permanent link
Bas Bekker (1.4k4) | answered Jun 16 '15, 1:27 p.m.
JAZZ DEVELOPER
edited Jun 16 '15, 1:31 p.m.
Chandan, have a look at the DNG public REST service API, which supports the Open Services for Lifecycle Collaboration: OSCL web site . Under the specification section there us a spec for Requirement Management that we support.

To start programming the best place to start is using the hands-on OSLC workshop with this article. The workshop is in Java and it's a great way to get going with the REST API.

Comments
Chandan M B commented Jun 17 '15, 1:27 a.m.

Hi Bekker,
Thanks for the response.
I know the OSLC based approach. I need it using plain java API.
Can't we achieve using this approach?



Bas Bekker commented Jun 17 '15, 11:10 a.m. | edited Jun 17 '15, 11:12 a.m.
JAZZ DEVELOPER

Chandan, the RM server works with REST services, so you cannot use a plain (POJO) Java type approach.

Regarding our internal (non-public) REST API, that's not documented, and use is for you own risk; things can change overnight.
If you are OK with using REST services, but you don't want to deal with the HTTP request part, you can use the Eclipse OSLC Lyo project to have a more POJO like programming environment.

Hope that helps.

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.