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

How do I filter defect work items using REST calls?

Hello,

I am using RTC 4.0.0.1.  I am experimenting with the OSLC workshop and am playing around with some REST calls.  What I am trying to do is filter all Defect work items.  I have constructed the following REST call:

https://<server>/ccm/oslc/contexts/_vB7-dSz-EeO2NNYauhpO8Q/workitems?oslc.select=dcterms:identifier,dcterms:title,dcterms:type&oslc.where=dcterms:type="Defect"

This call returns a "Unknown attribute id: [http://purl.org/dc/terms/type]" 400 result.  If I remove the &oslc.where=dcterms:type="Defect" filter, all the work items are returned with the dcterms:type attribute.

Where am I going wrong?

Regards,

Andrew

0 votes



One answer

Permanent link
 Hello Andrew,
please find some examples here:

You might be able to determine the correct syntax to filter on work item type.

Hope it helps,
Eric.

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

Question asked: Nov 24 '13, 1:10 p.m.

Question was seen: 3,846 times

Last updated: Nov 25 '13, 10:50 a.m.

Confirmation Cancel Confirm