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

RTC -5.0.2. Want to get Rest API values for all the categories in RTC at a time

 I am using Rational team concert - 5.0.2 version. I am having 100 + category values. I need to get Rest api (filed against value ) for all the categories in RTC at a time. Please help me

0 votes



One answer

Permanent link
I'm not sure how you can get all these "at a time". I believe you mean with a single request? The category value is stored as a URI in the work items, and you need to access this URI to get the category name and other information. So I believe some kind of iterations have to be done.

You can use the reportable REST API.
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#category_type_com_ibm_team_worki

Or you can use the OSLC API to step through Project Area, Resource Shape till you get to the "allowedValues" of the category (it is a list of URIs mentioned above). The URI looks like this:
https://clm602:9443/ccm/oslc/context/_ftZ1gX57Eea3_ddS3_sNyg/shapes/workitems/defect/property/category/allowedValues

And each category URI looks like this:
https://clm602:9443/ccm/resource/itemOid/com.ibm.team.workitem.Category/__VI4Sn57Eea3_ddS3_sNyg

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

Question asked: Oct 25 '16, 2:46 a.m.

Question was seen: 2,213 times

Last updated: Nov 01 '16, 1:56 a.m.

Confirmation Cancel Confirm