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

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?

0 votes

Comments

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.



One answer

Permanent link
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).

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
× 11,079

Question asked: Feb 19 '14, 11:41 a.m.

Question was seen: 8,578 times

Last updated: Feb 19 '14, 4:29 p.m.

Confirmation Cancel Confirm