It's all about the answers!

Ask a question

filedAgainst, Rest API, and Simple query what am I doing wrong.

Wayne Sepega (611) | asked Jul 23 '14, 8:40 a.m.

I have the following URL, which is supposed to use the simple query to search our work items based on the filedAgainst field:


I've also tried:


When running both of these, it appears that the filedAgainst is being ignored, and I get back all the work items in the respective project.

Anyone see anything wrong with the URL? Should I be using a different portion of the API? Searching via the dc:title works just fine so I believe I'm hitting the right URL, I just can't seem to figure out why the filedAgainst isn't working.


Donald Nong commented Jul 24 '14, 5:49 a.m.

oslc.query does not work for me, but oslc.where does. Try

Basically you need to percent encode the filedAgaint value before putting in the URI.

Wayne Sepega commented Jul 24 '14, 7:13 a.m.

Where is not working as well, still getting the default list of items.

One answer

permanent link
Wayne Sepega (611) | answered Jul 25 '14, 9:18 a.m.

query is now working for me, not sure why but it appears at times I must use OSLC. and other times OSLC_CM., but one or the other only. I haven't found a place that I can interchange them.

once I changed my url to be :


Everything worked.

Your answer

Register or to post your answer.