Add `merged_at` to merge request index API endpoint
Problem to solve
Currently, the index endpoint for the Merge Requests API can only return results using the MergeRequestBasic
entity. This excludes certain status information like merged_at
which can only be retrieved by making a call for the individual MR as well.
Further details
GitLab Insights populates it's data store via the API and requires the merged_at
information for charting. Making individual calls for each MR will increase the time taken to populate the data store
Proposal
- Provide an option to return detailed MRs from the index endpoint if required
What does success look like, and how can we measure that?
MR details only available in the MergeRequest
entity can be retrieved via batch operations using the API
Links / references
Edited by Douwe Maan