It's all about the answers!

Ask a question

OSLC v2.0 In operator for nested properties


Ragul S (1729) | asked Mar 07 '17, 1:03 a.m.

I'm using oslc V2.0 to query IBM ClearQuest. I want to use "IN" operator in oslc where for nested properties but it's not working.
I'm getting the error it's a Bad Request with error message "com.ibm.rational.cm.rest.query.InvalidQuerySyntax" .
No such limitation is mentioned in Query Specification also.
How to achieve this in OSLC V2.0 ??

Ex:
I want to query the records with user's message either "Hi" or "Bye".
cq:user{cq:message in ["Hi","Bye"]} - doesn't work in V2.0 but works in V1.0
cq:usermessage in ["Hi","Bye"] - works in V2.0

Accepted answer


permanent link
Jim Amsden (29347) | answered Mar 07 '17, 7:54 a.m.

The OSLC Core 2.0 specification says the query specification provides a standard set of query parameters that servers MAY provide. Implementations have interpreted this to mean that any particular clause in the query specification is optional. This may be the case here for ClearQuest. Consult the documentation for ClearQuest to see if it has such a restriction. If not, raise a PMR against ClearQuest as this is a product issue, not an issue with the OSLC standards.

Ragul S selected this answer as the correct answer

Comments
Ragul S commented Mar 17 '17, 8:07 a.m.

thanks a lot  @Jim Amsden

Your answer


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