In RQM, how do I define category/subcategory values via the RQM API?
I need to define category and subcategory values using RQM 4.0.4. I cannot find documentation covering this new feature from an API perspective. Specifically, I have release and build categories defined for test execution results. Build is a subcategory of release. For the project, I need to define valid build values for each release value.
One answer
Hi, yes 'category' is supported on RQM as of v3.0.1 and higher. You can use a RESTClient or a similar tool to create such 'Category/ sub category' records in RQM. You could use an RQMURLUtility to achieve possible automation on this.
Example:
Link below is the feed to 'category' types defined on RQM 5.0.2 project area called 'qmProjectArea'
>> https://clm502:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/qmProjectArea/category
Using a href on one of the existing category values along with headers for Accept and Content-type you can get the textual structure of the category. Then POST to create newer Category/ sub-Category.
Best Regards, Sunil
Comments
Marc van Lint
JAZZ DEVELOPER Dec 15 '13, 1:42 p.m.This is also interesting for me. Anyone who can help here? Preferably using a xml file and the import utility.
Chidambaram L PESIL InfoSol Pvt Ltd
Jan 19 '15, 3:27 a.m.Did you find a solution ?

I am using RQM 5.0. I was able to import the Test Cases in xml format. Having a "Category" node/tag in the Test Case xml imported the Category values also. But it is not defining the relationship between the Category & the Value. Value is not getting appended with "Associated" & the hierarchy is not set. User is not able to save the Test Case.