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

404 when using the REST API to get the reportedAgainstBuilds for a work item

I'm trying to use the REST API to see how many builds a work item has been reported against, my query looks like this:

 https://<host>:<port>/jazz/oslc/workitems/<workItemNumber>/rtc_cm:com.ibm.team.build.linktype.reportedWorkItems.com.ibm.team.build.common.link.reportedAgainstBuilds

I get the following result:

<oslc_cm:error xmlns:oslc_cm="http://open-services.net/xmlns/cm/1.0/">
<oslc_cm:status>404</oslc_cm:status>
<oslc_cm:message>
CRJAZ0215I The following record was not found in the database: com.ibm.team.build.internal.common.model.impl.BuildResultHandleImpl@62f662f6 (stateId: null, itemId: [UUID _ixEsoRz1EeKfP884K0QK7g], origin: <unset>, immutable: <unset>)
</oslc_cm:message>
</oslc_cm:error>

Some of the build results have been deleted, does that mean I cannot use this query, is this a bug or is my query wrong?
Note: If the build results have been deleted I still want to count them...

0 votes

Comments


Be the first one to answer this question!

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
× 137

Question asked: Oct 29 '12, 12:33 p.m.

Question was seen: 4,550 times

Last updated: Nov 13 '12, 9:52 a.m.

Confirmation Cancel Confirm