Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to query work Items by planned For via oslc?

Hello,

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 

0 votes


Accepted answer

Permanent link
 Hi,  I think the problem is you have to wrap the iteration ID in double quotes.   When I use:

https://server:9443/ccm/oslc/contexts/__9nOsR8XEeOwarTrFtCA6Q/workitems?oslc.where=rtc_cm:plannedFor="https://server:9443/ccm/oslc/iterations/_TdocNB8ZEeOwarTrFtCA6Q"

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

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936
× 515

Question asked: Oct 15 '12, 10:01 a.m.

Question was seen: 5,918 times

Last updated: Sep 17 '13, 1:33 p.m.

Confirmation Cancel Confirm