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

approvalTasks and approvals always null in OSCL REST API

 Finally getting around to doing some approval validation automation, or I hoped I was. 

I've seen the following pair of fields in my JSON data for some time and just never used them
            "rtc_cm:approvalTasks": null,
            "rtc_cm:approvals": null,

I figured that when I added some approval records via the UI they would appear here. But they didn't. Some searching brought me to this article from 2014
https://jazz.net/forum/questions/147416/is-there-a-way-to-query-rtc-approvals-via-the-oslc-rest-api
says that the data is not exposed in the API at that time, but now we're running 6.0.4 and it shows up as null. Is there some issue here or has the data still not been exposed, just the fields added as always null?


0 votes



2 answers

Permanent link

The following URLs return approvals and approvalTasks:

  • https://<server:port>/ccm/oslc/workitems/<workitem_UUID>/lqe/rtc_cm:approvals
  • https://<server:port>/ccm/oslc/workitems/<workitem_UUID>/lqe/rtc_cm:approvalTasks

It's still unclear whether these are internal only or can be used for integration with EWM.

0 votes


Permanent link
The EWM reportable REST AI supports and documents reading approval data. See https://rsjazz.wordpress.com/2022/03/02/ewm-reportable-rest-api/ for how to.

Thanks Kot. https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20 does not show approvals.

I know approvals are fully supported in the Java APIs.

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

Question asked: Nov 30 '17, 10:10 a.m.

Question was seen: 2,096 times

Last updated: Dec 16 '23, 1:25 p.m.

Confirmation Cancel Confirm