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?
|
2 answers
The following URLs return approvals and approvalTasks:
It's still unclear whether these are internal only or can be used for integration with EWM.
|
Ralph Schoon (63.5k●3●36●46)
| answered Dec 16 '23, 1:25 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.