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

Read all defects using RRA or SDK

How can I programmatically read only defects using Reportable Rest API  or SDK. 

0 votes


Accepted answer

Permanent link
Assuming you are just getting started, below are few hints.

Reportable Rest:
1) To list all Defects and their Project Area names
https://<yourserver>:<port>/ccm/rpt/repository/workitem?fields=workitem/workItem[type/id='defect']/(id|projectArea/name)
2) To list all workitems Ids of type Defects for a particular project area:
https://<yourserver>:<port>/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/name='myproject1' and type/id='defect']/id

For using SDK, I think you may not just want to list the defects but also want to do a few more things as well.
I found Ralph's blog very useful and would recommend you looking at What API’s are Available for RTC and What Can You Extend @ Ralph's Blog where you will find examples as well several links to other articles.

Hope this helps a bit.

Praveen Kumar selected this answer as the correct answer

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,951

Question asked: Jul 08 '13, 10:24 a.m.

Question was seen: 3,538 times

Last updated: Jul 09 '13, 7:36 a.m.

Confirmation Cancel Confirm