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

How to fetch collection contents in RM DNG programmatically

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

1

0 votes



2 answers

Permanent link
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.

0 votes

Comments

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?


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.


Permanent link
 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

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,938
× 234

Question asked: Jun 16 '15, 7:23 a.m.

Question was seen: 3,426 times

Last updated: Jul 22 '15, 11:58 a.m.

Confirmation Cancel Confirm