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

Unable to change state and status via OSLC

How can I change a state of WorkItem through OSLC ?

1

2 votes



One answer

Permanent link
oslc_cm:status and rtc_cm:state are read only and cannot be updated.
OSLC does not define a way for updating the state yet and hence it is not yet supported.

workaround: https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20 for rtc_cm:state states: The status of the work item (modifiable via action).
Value can be one of the user-configured values in the process configuration of the workitem's project area.
--> Use Firebug to infer what parameters to use with OSLC put in order to implement such action
example: action=com.ibm.team.workitem.taskWorkflow.action.startWorking&itemId=_IY_2MDoAEeKwGL6SXKN-Dw&type=task&stateId=_IZXpoToAEeKwGL6SXKN-Dw&additionalSaveParameters=com.ibm.team.workitem.common.internal.updateBacklinks&sanitizeHTML=true&projectAreaItemId=_FxnkQDoAEeKI-JCkPh__hw
which seems coherent with the answers Patrick provided in https://jazz.net/forum/questions/32674/change-workitem-state-via-rest

2 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
× 12,014

Question asked: Jan 10 '13, 1:36 a.m.

Question was seen: 6,502 times

Last updated: Jan 10 '13, 1:38 a.m.

Confirmation Cancel Confirm