resolving rtc_cm:state rdf references to text
One answer
On 12/11/09 7:52 AM, Rumble wrote:
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
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