Export merge requests to CSV

Introduced in GitLab 13.6.

Export all the data collected from a project’s merge requests into a comma-separated values (CSV) file.

To export merge requests to a CSV file:

  1. On the left sidebar, select Search or go to and find your project.
  2. Select Code > Merge requests.
  3. Add any searches or filters. This can help you keep the size of the CSV file under the 15 MB limit. The limit ensures the file can be emailed to a variety of email providers.
  4. Select Actions () > Export as CSV.
  5. Confirm the correct number of merge requests are to be exported.
  6. Select Export merge requests.

CSV Output

The following table shows the attributes in the CSV file.

TitleMerge request title
DescriptionMerge request description
URLA link to the merge request on GitLab
StateOpened, Closed, Locked, or Merged
Source BranchSource branch
Target BranchTarget branch
Source Project IDID of the source project
Target Project IDID of the target project
AuthorFull name of the merge request author
Author UsernameUsername of the author, with the @ symbol omitted
AssigneesFull names of the merge request assignees, joined with a ,
Assignee UsernamesUsername of the assignees, with the @ symbol omitted
ApproversFull names of the approvers, joined with a ,
Approver UsernamesUsername of the approvers, with the @ symbol omitted
Merged UserFull name of the merged user
Merged UsernameUsername of the merge user, with the @ symbol omitted
Milestone IDID of the merge request milestone
Created At (UTC)Formatted as YYYY-MM-DD HH:MM:SS
Updated At (UTC)Formatted as YYYY-MM-DD HH:MM:SS

In GitLab 14.7 and earlier, the first two columns were MR ID and URL, which caused an issue when importing back into GitLab.