Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,765
    • Issues 44,765
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,328
    • Merge requests 1,328
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #3619
You need to sign in or sign up before continuing.
Closed
Open
Issue created Oct 03, 2017 by Markus Fischbacher@markus.fischbacher0 of 3 checklist items completed0/3 checklist items

Export merge requests to CSV like already possible for issues

Description

I want to be able to export merge requests to CSV like possible for issues.

Solution

On the Merge Requests index, add a button to "Export as CSV" (like the one on the Issues index). Clicking this button would cause a CSV file to be downloaded with these columns:

CSV schema

Column Description
MR ID MR iid
URL A link to the merge request on GitLab
Title Merge request title
State Opened, Closed, Locked, or Merged
Description Merge request description
Source Branch Source branch
Target Branch Target branch
Source Project ID ID of the source project
Target Project ID ID of the target project
Author Full name of the merge request author
Author Username Username of the author, with the @ symbol omitted
Assignees Full names of the merge request assignees, joined with a ,
Assignee Usernames Username of the assignees, with the @ symbol omitted
Approvers Full names of the approvers, joined with a ,
Approver Usernames Username of the approvers, with the @ symbol omitted
Merged User Full name of the merged user
Merged Username Username of the merge user, with the @ symbol omitted
Milestone ID ID 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

UI

Screen_Shot_2020-07-14_at_4.40.19_PM

Links / references

https://docs.gitlab.com/ee/user/project/issues/csv_export.html

Feature checklist

Make sure these are completed before closing the issue, with a link to the relevant commit.

  • Feature assurance
  • Documentation
  • Added to features.yml
Edited Aug 12, 2020 by Tan Le
Assignee
Assign to
Time tracking