how to mark a work item as done using oslc api?
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.
?_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
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