It's all about the answers!

Ask a question

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


G C (49111) | asked Jan 11, 1:00 a.m.

 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?

One answer



permanent link
Ralph Schoon (63.7k33648) | answered Jan 11, 3:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jan 11, 3:07 a.m.
  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. 

Your answer


Register or 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.