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

Reportable Rest API to query components in the SCM of a project

I am able to query all components existing in the SCM using the below query
https://sever/ccm/rpt/repository/scm?fields=scm/component/(name)

But how do I filter this for a single project

1

0 votes

Comments

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?

I meant to select just those components that are owned by a particular project area.  


Accepted answer

Permanent link
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)
Praveen Kumar selected this answer as the correct answer

0 votes

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.  

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,944
× 1,204
× 137

Question asked: Mar 28 '13, 8:10 a.m.

Question was seen: 7,570 times

Last updated: Dec 03 '13, 11:12 a.m.

Confirmation Cancel Confirm