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

AND Condition not working on RQM REST API

Hello.

I have a Testcase named "tbf" with a description "abc".

I want to find by Title AND Description using REST API.
Doing the following call:

https://server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PA/testcase?fields=feed/entry/content/testcase[title%3D%27tbf%27+and+description%3D%27xs%27]

which decoded is

https://server/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PA/testcase?fields=feed/entry/content/testcase[title='tbf' and description='xs']


As I am searching for the wrong description text, so I would expect not to get the Testcase as a Result.
Instead, I get any Testcases with the Title "tbf"
Name Uniqueness is disabled.
According to the wiki, it should work like that

?fields=feed/entry/content/testplan[title='test plan title' and description!='test plan description']/(title|description|testcase)
Include the title, description, and test case properties of the test plan(s) with a title property equal to 'test plan title' and a description property not equal to 'test plan description'.

Any idea of what I might do wrong?
Thank you!
Version: 6.0.3



0 votes


Accepted answer

Permanent link

Description is not a filtering property (see https://jazz.net/wiki/bin/view/Main/RqmApi#SupportedFieldsResources).  Also, consider using https://jazz.net/wiki/bin/view/Main/RqmApi#strictFields.

Julian Hemm selected this answer as the correct answer

0 votes

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
× 10,938

Question asked: Feb 27 '17, 4:00 a.m.

Question was seen: 2,246 times

Last updated: Mar 01 '17, 6:33 a.m.

Confirmation Cancel Confirm