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

REST API to view and set work item approvals

 Is there a way to use the public REST API to view the Approval details and execute an approve?

On the basic workitem details url https://<server>/ccm/oslc/workitems/<id> I don't have any information about the historical or current approvals.  

Inspecting the web UI is see the following internal service being used

https://<server>/ccm/service/com.ibm.team.workitem.common.internal.rest.IWorkItemRestService/workItemDTO2?includeHistory=false&id=6435

but the response is pretty large and has a lot of unneeded details

0 votes

Comments

Im guessing no public api, so Ill update on my progress..  I have actually managed to make the internal url work a little lighter by adding some additionally query parameters


includeHistory=false&includeLinks=false&includeAttributes=false&includeApprovals=true&id=555 

next to see if it honor json accept-response type and to actually post an approve



One answer

Permanent link
 Aaron

0 votes

Comments

Hi Rosa,  Perhaps I am missing something but that appears to be only about using the Java API.  Is there REST API in there as well? 

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,948
× 480
× 13

Question asked: Aug 29 '13, 1:56 p.m.

Question was seen: 5,517 times

Last updated: Aug 30 '13, 2:00 p.m.

Confirmation Cancel Confirm