It's all about the answers!

Ask a question

Oslc Simple Query


Sascha Mallabar (1311) | asked Aug 23 '12, 3:12 a.m.
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?

Accepted answer


permanent link
Takehiko Amano (1.3k3641) | answered Aug 23 '12, 3:44 a.m.
JAZZ DEVELOPER
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).

Sascha Mallabar selected this answer as the correct answer

Comments
Sascha Mallabar commented Aug 23 '12, 4:03 a.m.

This worked for me Thanks a lot! You made my day

Your answer


Register or to post your answer.