How can I get a human-meaningful 'state' string for a work item from the OSLC representation?
Using the OSLC query docs, I'm able to get the OSLC representation of a work item. I'd like to determine the human-meaningful name of the work item's current state, and whether that state is considered resolved.
I'd like to know how to map that and determine if it's resolved. There are other fields that hint at whether the state is resolved (e.g. 'rtc_cm:resolvedBy') but don't provide a hint that would tell a user if the resolution involved code changes, or that the work item was closed as invalid/dupe/out-of-scope/etc.
Each work item has a state field that looks like:
'rtc_cm:state': { 'rdf:resource': 'https://...:9443/jazz/oslc/workflows/_1w8aQEmJEduIY7C8B09Hyw/states/bugzillaWorkflow/3' }