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

resolving rtc_cm:state rdf references to text

I am using the REST API to query the workitems.

All entries in the rtc_cm:state fields are returned as rdf:resource entries.

How do I resolve these values into a human readable string format like "open" or "closed"?

thanks

0 votes



One answer

Permanent link
On 12/11/09 7:52 AM, Rumble wrote:
I am using the REST API to query the workitems.

All entries in the rtc_cm:state fields are returned as rdf:resource
entries.

How do I resolve these values into a human readable string format like
"open" or "closed"?

thanks

You can just fetch the URL that rdf:resource points to. If you want the

state in one roundtrip, along with the work item, you can use e.g.

?oslc_cm.properties=dc:title,dc:identifier,rtc_cm:state

--
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: Dec 11 '09, 1:49 a.m.

Question was seen: 6,327 times

Last updated: Dec 11 '09, 1:49 a.m.

Confirmation Cancel Confirm