REST API - Usage of wildcard in filtering
-
As mentioned in RQM REST wiki,
-
<feedUrl>?fields=feed/entry/content/testplan[title='test plan %']/description - should return the description property of the test plan(s) with a title property starts with 'test plan '.
I do not see this working.
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKEBanking (Quality Management)/testplan?fields=feed/entry/content/testplan[title='System %']/(title|description) is expected to return 2 test plan titles and descriptions ('System Verification' and 'System TestPlan') but returns titles and descriptions of all test plans. Is anything wrong here?
One answer
A couple of comments:
1. When using the % wildcard, be sure to URL-encode the fields parameter value.
2. Note https://jazz.net/wiki/bin/view/Main/RqmApi#strictFields. The behavior for RQM 4.x is equivalent to strictFields=false.
3. Note Fields filtering with a user-defined wildcard returns invalid results. (103020).
1. When using the % wildcard, be sure to URL-encode the fields parameter value.
2. Note https://jazz.net/wiki/bin/view/Main/RqmApi#strictFields. The behavior for RQM 4.x is equivalent to strictFields=false.
3. Note Fields filtering with a user-defined wildcard returns invalid results. (103020).
Comments
Subramanya Prasad Pilar
Feb 19 '14, 12:16 p.m.I am using RQM 4.0.5.
https://server:port/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/JKEBanking (Quality Management)/testplan?fields=feed/entry/content/testplan[title='System X']/(title|description)&wildcard=X is working as expected.