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
Ralph Schoon (63.4k●3●36●46)
| answered Mar 24 '22, 5:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I documented how the state of a work item can be modified using the OSLC CM API by providing workflow action. Ralph Schoon selected this answer as the correct answer
|
One other answer
Ralph Schoon (63.4k●3●36●46)
| answered Mar 16 '17, 8:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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
Test Jazz
commented Mar 22 '17, 3:33 a.m.
Thank you for your answer
but what about REST API where we need to write status using rest api .
which article we need to refer to write status on rest api.
1
Donald Nong
commented Mar 22 '17, 5:19 a.m.
The RTC reportable REST API is intended for reporting only, not updating the artifacts. See the Introduction section of the document.
Geoffrey Clemm
commented Mar 23 '17, 1:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I assume that Test Jazz is referring to the OSLC REST API or the internal REST API, and not the reportable REST API.
|
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.