It's all about the answers!

Ask a question

resolving rtc_cm:state rdf references to text


Phil Rumble (6196) | asked Dec 11 '09, 1:49 a.m.
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

One answer



permanent link
Patrick Streule (4.9k21) | answered Dec 12 '09, 7:23 a.m.
JAZZ DEVELOPER
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

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.