It's all about the answers!

Ask a question

How to query category items by using RQM Rest API


Aditya Sant (1313) | asked Oct 29 '15, 4:46 a.m.
I have testcase having 4 category fields.Each category has multiple items (i.e. Combobox). By using RQM api can I read/get list of items for particular category field? If no, what is better approach.Please suggest appropriate rest URI format.

One answer



permanent link
Frank McGrath (242162) | answered Oct 29 '15, 10:02 a.m.
JAZZ DEVELOPER
 You can get an atom feed of all Category Types using a URL like:
https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/categoryType/

You can get an atom feed of all Categories using a URL like:
https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/category/

From the feed, you can get the individual categories using a URL like:
https://localhost:9443/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality+Manager/category/urn:com.ibm.rqm:category:_QraKMGkfEeWaksN18aiLNA

Comments
Aditya Sant commented Oct 30 '15, 2:39 a.m.

@frank McGrath:Thanks..Btw second URL shows some dropdown values from all fields. Any work around to get exactly all fields of particular categorytype?


Aditya Sant commented Nov 05 '15, 1:35 a.m.

any help? I need to fetch items of particular category type
like
CategoryType="ApplicationNames"

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.