It's all about the answers!

Ask a question

How to query work Items by planned For via oslc?

Melanie Finke (7721520) | asked Oct 15 '12, 10:01 a.m.

I try to get all work Items of a specific Iteration by oslc. By running the query with
oslc.where = rtc_cm:plannedFor = (iteration ID)

I get the error message: unexpected Symbol: null

Planned For is not always present as a attribute in rdf+xml representation. =>

It is always possible, that there is a null value for planned For. Is it and if yes how is it possible to query for non mandatory attributes?

Best regards 

Accepted answer

permanent link
Michael Fiedler (9113) | answered Sep 17 '13, 1:33 p.m.
 Hi,  I think the problem is you have to wrap the iteration ID in double quotes.   When I use:


I get a good response.   If I do it without the quotes around the iteration ID, I get your error message.

The workitems with the unassigned/missing rtc_cm:plannedFor values should not cause problems.
Rosa Naranjo selected this answer as the correct answer

Your answer

Register or to post your answer.