Jochen Seeber
unread,Apr 26, 2012, 5:40:07 AM4/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Repo and Gerrit Discussion
Hi,
we're using JSONRPC to automate Gerrit, and need to access all "old"
approvals, i.e. approvals of patchsets that are not the newest one.
Using ChangeDetailService.changeDetails does not give us those, as it
returns only approvals for the newest patchset. If an earlier change
was reviewed with a +1 by a reviewer, the approvals only contain an
entry with value 0 for the newest patchset, not the +1 for the earlier
patchset.
We also tried using PatchDetailService.userApprovals, but the
approvals array is always empty in the result. Shouldn't this return
all approvals?
If not, is there a way to get the full approval data of older
patchsets?
Regards,
Jochen