Having trouble getting the approval data from rtc into RPE
Ultimately I would like the output to look like this:
Approval Name Approver Status
Review 1 Joe Pending
Review 1 Sue Approved
Review 2 Harry Pending
Review 2 Tom Pending
Review 2 Dick Pending
Review 3 Jim Pending
Icing on the cake would be the date the approver approved
Thoughts?
2 answers
But icing this cake is not straight forward. :) You need to use JavaScript - add modified date (workitem/workItem/itemHistory/modified) to an array and find the date the approver approved.
Comments
You can test this using https://server:port/ccm/rpt/repository/workitem/workItem/id/123 as data source URL.
You may refer https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
I have not tried using ApprovalDescriptors element, you can also try that.
First, thank you.
Second, can you post the query for $5 and the full path of the text for that cell?
My next step is to figure out the item history.
Thanks again!
workitem/workItem/approvals/approvalDescriptor
workitem/workItem/approvals/approvalDescriptor/name
$290 = workitem/workItem/approvals/approvalDescriptor/approvals/approvalDescriptor
$291 = workitem/workItem/approvals/approvalDescriptor/approvals/approver
$292 = workitem/workItem/approvals/approvalDescriptor/approvals/approvalDescriptor
Comments
can't seem to post the image
I had generated sample output before posting the screenshot. Please let me know if you are still unable to get the output. I can provide the sample template.
I was able to get the information out.
Now on to the dates.
Thank you!
Hi Subramanya or Heather
Regards