It's all about the answers!

Ask a question

How do I filter defect work items using REST calls?


Andrew Trobec (49713144139) | asked Nov 24 '13, 1:10 p.m.
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

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Nov 25 '13, 10:50 a.m.
JAZZ DEVELOPER
 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.

Your answer


Register or 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.