Can we fetch category uuid from category name in RTC (EWM) using OSLC or Rest API?
One answer
- 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.
- For the Reportable REST API, I think the same applies
- 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.