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

How to change rtc status field via REST api

I am referring to this post, which however did not really provide an answer to my problem:


RTC status is shown as read only in the api, but is actually modifiable in the ui.
Is there any way to change the state of a workitem via REST Api?
Specifically I am looking for the xml+rdf representation needed, to send a partial update similar to this:
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:oslc_cm="http://open-services.net/ns/cm#"
    xmlns:rtc_ext="http://jazz.net/xmlns/prod/jazz/rtc/ext/1.0/"
    xmlns:oslc_cmx="http://open-services.net/ns/cm-x#"
    xmlns:rtc_cm="http://jazz.net/xmlns/prod/jazz/rtc/cm/1.0/"
    xmlns:oslc="http://open-services.net/ns/core#" > 
  <rdf:Description rdf:about="https://localhost:9443/jazz/resource/itemOid/
com.ibm.team.workitem.WorkItem/_xoNikpHMEeC_rYSykUtXXA">
    .....
    .....
    <oslc_cm:status>Invalid</oslc_cm:status>
    .....
    .....
  </rdf:Description>
</rdf:RDF>
    

0 votes



One answer

Permanent link
The state of the work item is read-only. You have to perform a workflow action to change the state. For all your questions please seeĀ https://rsjazz.wordpress.com/2022/02/02/ewm-work-item-oslc-cm-api/

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,935
× 515
× 13

Question asked: Mar 24 '22, 4:56 a.m.

Question was seen: 2,053 times

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

Confirmation Cancel Confirm