Rqmurlutility - export category hierarchy
Accepted answer
You will need two requests and do some manipulation after you get the response.
1. /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/category?fields=*
This URL will give you all the "values" and show which category they belong to.
2. /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/categoryType?fields=*
This URL will give you all the categories (and subcategories if exist). It will also all "values" in a parent-child relationship - if you look into the <ns2:valueset> tag, the <ns2:key> is the parent value, while <ns2:value> is the child value(s).
Note 1: "categoryType" In the URL means "category" in the web GUI, while "category" in the URL means "value" in the web GUI.
Note 2: I have not found a way to include Test Case Categories only, so the two URLs above show categories/values for all test artifact types.
1. /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/category?fields=*
This URL will give you all the "values" and show which category they belong to.
2. /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/<projectAlias>/categoryType?fields=*
This URL will give you all the categories (and subcategories if exist). It will also all "values" in a parent-child relationship - if you look into the <ns2:valueset> tag, the <ns2:key> is the parent value, while <ns2:value> is the child value(s).
Note 1: "categoryType" In the URL means "category" in the web GUI, while "category" in the URL means "value" in the web GUI.
Note 2: I have not found a way to include Test Case Categories only, so the two URLs above show categories/values for all test artifact types.