Skip to content

MR Analytics - Throughput Table - Approvals metadata

Problem

Looking at the merge request table data, there is no way to see how many users approved individual merge requests. We can however assume that the merge request was approved, as the table only shows merged merge requests.

Solution

Add the number of approvals to the table entries. This information can be gather by doing a count on the already existing approvedBy field;

When approvals are required, we can display the total number of approvals issued, else we can omit the metadata.

Original discussion

#235856 (comment 405255299)

Edited by Brandon Labuschagne