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

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. 

Each work item has a state field that looks like:
'rtc_cm:state': {
    'rdf:resource': 'https://...:9443/jazz/oslc/workflows/_1w8aQEmJEduIY7C8B09Hyw/states/bugzillaWorkflow/3'
}
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. 

0 votes


Accepted answer

Permanent link
Turns out I just have to query the resource. For whatever reason Chrome wasn't rendering the content at the URI, so I assumed there wasn't anything there. 
Geoffrey Clemm selected this answer as the correct answer

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
× 10,934
× 515
× 369
× 62

Question asked: Mar 08 '15, 9:13 p.m.

Question was seen: 3,865 times

Last updated: Mar 09 '15, 9:46 p.m.

Confirmation Cancel Confirm