It's all about the answers!

Ask a question

AND Condition not working on RQM REST API


Julian Hemm (58616) | asked Feb 27 '17, 4:00 a.m.

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



Accepted answer


permanent link
Paul Slauenwhite (8.4k12) | answered Mar 01 '17, 6:33 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Julian Hemm selected this answer as the correct answer

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.