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

Can we fetch category uuid from category name in RTC (EWM) using OSLC or Rest API?

 I have requirement to fetch workitems which are filed against a particular team area. but for this the OSLC query needs UUID of filed against(category) . 

Hence is there any possibility to fetch the uuid of category if we know the category name?

0 votes



One answer

Permanent link
  1. For all I know, OSLC Query can query for the title of a category. I do not think that the UUID of an item is needed to query.
  2. For the Reportable REST API, I think the same applies 
  3. If you need the UUID, which is an implementation detail that has no meaning in the context of OSLC, you can find the resorceShape for the work item type you are interested in, and get the allowedValues. You get URI's for the allowed values. If you follow the URI's you get the details for each category. The last segment in the category URI is the UUID that EWM uses. Again, the UUID is nothing that OSLC is concerned of, it is just exposed as an implementation detail.
Consider carefully reading the blog posts of this series: https://rsjazz.wordpress.com/2022/02/02/ewm-work-item-oslc-cm-api/

PS: EWM does not really support JSON completely, you should use application/rdf+xml instead. 

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
× 7,506
× 1,336

Question asked: Jan 11 '24, 1:00 a.m.

Question was seen: 677 times

Last updated: Jan 11 '24, 3:07 a.m.

Confirmation Cancel Confirm