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

How can I get resource info except workitem via REST API?

I found this url about REST API - https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2, but it only tells how to work with work items. But many of work item are resource link, such as severiy, priority, defect owner, etc. How can I get their detailed info?

For example, the following is a defect owner info when I retrieve a work item info. I need to know the user's name. What should I do?
https://localhost:9443/jazz/oslc/users/_YNh4MOlsEdq4xpiOKg5hvA

0 votes



One answer

Permanent link
I found this url about REST API -
https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2,
but it only tells how to work with work items. But many of work item
are resource link, such as severiy, priority, defect owner, etc. How
can I get their detailed info?

For example, the following is a defect owner info when I retrieve a
work item info. I need to know the user's name. What should I do?
https://localhost:9443/jazz/oslc/users/_YNh4MOlsEdq4xpiOKg5hvA

The Owner, Priority etc. are all links to other resources. You can just
follow these URLs and you get the user info or the Priority name/icon.

It is also possible to inline these directly into the work item
representation to avoid too many roundtrips.

https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2
and
http://open-services.net/bin/view/Main/CmRestApiV1

have more information on this.

--
Regards,
Patrick
Jazz Work Item Team

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: Apr 27 '10, 6:14 a.m.

Question was seen: 4,611 times

Last updated: Apr 27 '10, 6:14 a.m.

Confirmation Cancel Confirm