It's all about the answers!

Ask a question

How do I query for oslc_cm:trackedWorkItem NOT set?


Andre Carlos Antunes de Oliveira (404) | asked Dec 30 '15, 12:03 a.m.
Using the RTC Query Editor, it's possible to query for workitems with "Contribute for" linktype not setting.
How do I do the same thing using oslc?

When I use oslc.where=oslc_cm:trackedWorkItems!="", I receive all workitems thas HAS the "Contribute for" link set.
But, using oslc.where=oslc_cm:trackedWorkItems="" doesn't work...
I'm using the request headers OSLC-Core-Version=2.0 and Accept=application/xml, Mozilla Firefox and Poster.

So, how do I query for oslc_cm:trackedWorkItem NOT set using OSLC-CM?

Thanks in advance.

Accepted answer


permanent link
Donald Nong (14.4k213) | answered Jan 11 '16, 1:11 a.m.
Not you can't. You cannot use OSLC API to test an empty or null value.
Andre Carlos Antunes de Oliveira selected this answer as the correct answer

Your answer


Register or to post your answer.