Read all defects using RRA or SDK
How can I programmatically read only defects using Reportable Rest API or SDK.
|
Accepted answer
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
|
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.