It's all about the answers!

Ask a question

How do I query workitems by title via OSLC ?


guoping chen (191013) | asked Apr 17 '14, 3:02 a.m.
How do I query workitems by title via OSLC ?
1.title:contain only numbers--->OK
    https://host.my.company.net:9443/ccm/oslc/contexts/_d_S48HnCEeO88aNvwHMSCg/workitems.xml?oslc.where=dcterms:title=123&oslc.select=dcterms:identifier,dcterms:title
2.title:contain letters and numbers--->NG
    https://host.my.company.net:9443/ccm/oslc/contexts/_d_S48HnCEeO88aNvwHMSCg/workitems.xml?oslc.where=dcterms:title=abc123&oslc.select=dcterms:identifier,dcterms:title

How to solve the above second problem?



Comments
guoping chen commented Apr 17 '14, 3:03 a.m.

the error content of above the second problem
err:- <oslc:Error rdf:about="#n0">;
  <oslc:message>予期しないシンボル: null</oslc:message>
  <oslc:statusCode>400</oslc:statusCode>
  </oslc:Error>

One answer



permanent link
Charlie Seo (22127) | answered Apr 18 '14, 2:59 a.m.
Are you indicating if full text search can be done by using OSLC? I guess if you want to do so, oslc.searchTerms is what u need to check. Query capability accepts the wildcard so this can be used with other search parameters.

Your answer


Register or to post your answer.