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

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.

0 votes


Accepted answer

Permanent link

 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

1 vote


One other answer

Permanent link

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.

0 votes

Comments

 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.

The RTC reportable REST API is intended for reporting only, not updating the artifacts. See the Introduction section of the document.
https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI#Introduction

1 vote

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

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,937
× 457
× 234

Question asked: Mar 16 '17, 8:26 a.m.

Question was seen: 4,273 times

Last updated: Mar 24 '22, 5:01 a.m.

Confirmation Cancel Confirm