It's all about the answers!

Ask a question

Are Enumeration values no longer in the workitem json file with RTC 6.0.3?

Sondra Coursin (11) | asked Jul 27 '17, 2:51 p.m.

 For RTC 5.0.2 the (uri)/ccm/oslc/workitems/(WI#).json file contained values for enumerations in a Work Item.  For instance, if a Work Item had a drop-down with three options, the value selected (or default) was in the workitem json file and reading the json file would give us the values.  Like this, where "FB" was selected from the drop-down values (this is just the end of the json line): 


With RTC 6.0.3, we can't find the selected enumeration value in the workitem json file.  The value shows the enumeration literal, not the value selected from the drop-down

Were the enumeration values selected in the work item taken out of the workitem json file with 6.0.3 (or some version after 5.0.2)?  Or is this an issue?  

Note: We are doing curl calls from a mainframe to retrieve the json file and get the work item's field values.  

Donald Nong commented Jul 28 '17, 1:59 a.m.

Are you sure you are accessing the same enumeration type? What if you retrieve the data in RDF/XML format?

Sondra Coursin commented Jul 28 '17, 5:18 p.m.

We can read the RTC workitem json file directly from the web and it has the same data with the literal instead of the drop down value selected.  So reading it in another format would not change the issue. 

Be the first one to answer this question!

Register or to post your answer.