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

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.

1

0 votes



One answer

Permanent link
 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

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,938

Question asked: Oct 07 '15, 6:14 a.m.

Question was seen: 2,233 times

Last updated: Oct 07 '15, 7:27 a.m.

Confirmation Cancel Confirm