Reportable Rest API to query components in the SCM of a project
Accepted answer
You can use this Rest API instead:
https://server/jazz/service/com.ibm.team.scm.common.rest.IScmRichClientRestService/SearchComponents2?ownerItemNamespace=com.ibm.team.process&ownerItemType=ProjectArea&ownerItemId=(itemid)
https://server/jazz/service/com.ibm.team.scm.common.rest.IScmRichClientRestService/SearchComponents2?ownerItemNamespace=com.ibm.team.process&ownerItemType=ProjectArea&ownerItemId=(itemid)
Comments
Is this a Public API or an internal one. Does it keep changing every release.
Also it seems this service is not available. It gives me a 404 error. See details below
Error 404: com.ibm.ws.webcontainer.servlet.exception.NoTargetForURIException: No target servlet configured for uri: /jazz/service/
Thanks for a quick response. After changing as you suggeste,d it gives me a 500 error The URL I tried is given below.
Sorry. It was a typo error while specfying the item Id. This works fine!!!
Comments
Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 28 '13, 11:13 a.m.By "filter for a single project", do you mean select just those components that are owned by a particular project area? Or do you mean for those components that are currently in a particular stream?
Praveen Kumar
Apr 01 '13, 2:31 a.m.I meant to select just those components that are owned by a particular project area.