Oslc Simple Query
![](http://jazz.net/_images/myphoto/487c3a8e68a8fa3f335bb0c1082177ed.jpg)
Hi,
I perform some simple Oslc queries and some problems occured. I want to filter the work items that I only receive defects, therefore I used the oslc.where=dcterms:type="defect" statement. If I run this query via HttpGet the error
"Error: 400" occurs. Am I using the oslc.where clause in a wrong way? I used the same syntax described on openservices.net. The where clause works with dcterms:identifier and of course the attribute dcterms:type is existing.
Does anyone has some suggestions for me?
I perform some simple Oslc queries and some problems occured. I want to filter the work items that I only receive defects, therefore I used the oslc.where=dcterms:type="defect" statement. If I run this query via HttpGet the error
"Error: 400" occurs. Am I using the oslc.where clause in a wrong way? I used the same syntax described on openservices.net. The where clause works with dcterms:identifier and of course the attribute dcterms:type is existing.
Does anyone has some suggestions for me?
Accepted answer
![](http://jazz.net/_images/myphoto/487c3a8e68a8fa3f335bb0c1082177ed.jpg)
I was able to reproduce this problem. I found that this worked for me (RTC V4.0 using Poster/FireFox).
oslc.where=rtc_cm:type="defect"
Not sure if this is the same defect as OSLC-CM: Type problems (dcterms:type, rtc_cm:type) on change request POST (157516).
oslc.where=rtc_cm:type="defect"
Not sure if this is the same defect as OSLC-CM: Type problems (dcterms:type, rtc_cm:type) on change request POST (157516).