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

OSLC v2.0 In operator for nested properties

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

0 votes


Accepted answer

Permanent link

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

0 votes

Comments

thanks a lot  @Jim Amsden

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
× 12,023
× 516
× 62

Question asked: Mar 07 '17, 1:03 a.m.

Question was seen: 2,018 times

Last updated: Mar 17 '17, 8:07 a.m.

Confirmation Cancel Confirm