Why RTC Status field is shown as read only in RTC API
We are using RTC API for integrating RTC
In that we observed that Status field is shown as read only in api but actually on RTC ui(web) it is not read only and can be writable and changeable
we had check rtc java api as well as rtc rest api , in both the case it is showing as read only
What is the reason for showing that field as read only where actually it is not read only.
Accepted answer
I documented how the state of a work item can be modified using the OSLC CM API by providing workflow action.
One other answer
You can not write the status, as it is not a normal attribute. The state of a work item must be changed using a workflow action. There is a deprecated API call setState2(Identifier value) to set the state directly available in the Client API , but it should not be used as it does not trigger a state change and that could impact behavior related to workflow actions. See https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/ for a more complete discussion.
Comments
1 vote