filedAgainst, Rest API, and Simple query what am I doing wrong.
I have the following URL, which is supposed to use the simple query to search our work items based on the filedAgainst field:
https://rtc:9443/jazz/oslc/contexts/_2DkGEKbIEd-2ysPalH7cjQ/workitems?oslc.query=rtc_cm:filedAgainst="https://rtc:9443/jazz/resource/itemOid/com.ibm.team.workitem.Category/__xs7j2GwEeOYIJ2V2VkBiQ/"&oslc_cm.properties=dc:title,dc:identifier,rtc_cm:filedAgainst
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.
Wayne
Comments
Donald Nong
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
Jul 24 '14, 7:13 a.m.Where is not working as well, still getting the default list of items.