It's all about the answers!

Ask a question

how to mark a work item as done using oslc api?


0
1
Stephen Rowles (13) | asked Oct 07 '15, 6:14 a.m.
 Hi,

I've tried lots of searching and googling but I cannot find the right answer to this. I'm using the OSCL api so I get the work item using the URL:

https://servername:9443/ccm/oslc/workitems/{id}

I've tried changing the values for rtc_cm:State and oslc_cm:Status and then just PUTing the work item back to the above URL, which returns 200 OK but doesn't do anything.

I've found some things googling talking about using an action:

?_action=com.ibm.team.workitem.taskWorkflow.action.Complete

But I haven't been able to make that work either. Any suggestions how I make this work via the OSLC api? All I want to do is make the work item complete.

Thank you.

One answer



permanent link
Stephen Rowles (13) | answered Oct 07 '15, 7:27 a.m.
 Solution:

PUT application/json content-type of with data:
{
}

to https://servername:9443/ccm/oslc/workitems/{id}?_action=com.ibm.team.workitem.taskWorkflow.action.resolve

Solves the problem

Your answer


Register or 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.