Add the date that the MR was merged to the Chain of Custody report

Release notes

Problem to solve

Today the Chain of Custody report includes information about commits that have occurred and includes information such as the commit SHA, the project, the author, and some other info. It does not however include the date or time when the MR was merged.

This means that to find the time for an MR, a user must take the chain of custody report and cross-reference it with a list of Git commits to identify the time a merge occurred. This is time consuming and error prone. This lack of date information also makes it quite difficult to easily filter the report down to a relevant date range. For large organizations, the custody report will be quite long and so not being able to easily filter makes audits much more difficult.

Proposal

Add a new column to the chain of custody report that includes the time that the report was merged.

Intended users

Feature Usage Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Implementation plan

  1. Update the ee/app/services/merge_commits/export_csv_service.rb to include the Date merged in the CSV data.
  2. Update the export service and related specs.
  3. Update documentation if required.
Edited by Michael Becker