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

Root category values not available

 Hello, 

when I try to retrieve the CategoryType values in QM via REST API it does work only for child CategoryTypes, where I get an XML answer with a valueset element. For root CategoryTypes there is no such element, even if there are clearly values set. 

Is this a bug or is it possible to retrieve values of root CategoryTypes? 

Thanks in advance!

0 votes



One answer

Permanent link

 Hi,


The valueset is a set of categories from the categoryType parent grouping a subset of a categoryType. So root categories cannot have a valueset as they have not a parent. You could get the categories for a category type by getting the feed of categoried filtered by categoryType. Following is an example:

https://serverdomain:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PROJECT+ALIAS/category?fields=feed/entry/content/category/categoryType[@href='categoryTypeUri']

where categoryTypeUri kind of: https://serverdomain:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/PROJECT+ALIAS/categoryType/urn:com.ibm.rqm:categoryType:_uuid

regards,
napoles

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
× 10,939

Question asked: Aug 20 '19, 8:03 a.m.

Question was seen: 1,861 times

Last updated: Nov 22 '19, 4:53 p.m.

Confirmation Cancel Confirm