Is there an option to export all issues / TODOS to csv or pdf file in GitLab?
You can export issues as CSV files from GitLab, which are sent to your default notification email address as an attachment. Export Issues to CSV enables you and your team to export all the data collected from issues into a comma-separated values (CSV) file, which stores tabular data in plain text.
Introduced in GitLab Starter 9.0. Issues can be exported as CSV from GitLab and are sent to your default notification email as an attachment. Export Issues to CSV enables you and your team to export all the data collected from issues into a comma-separated values (CSV) file, which stores tabular data in plain text.
Before you can import a project, you must export the data first. See Export a project and its data for how you can export a project through the UI. Imports from a newer version of GitLab are not supported. The Importing GitLab version must be greater than or equal to the Exporting GitLab version.
With the official GitHub CLI you can easily export all issues into a CSV format. Change directory to a repository and run this command: In the European .csv files the separator is a semicolon ';', not a comma. Modify the separator as you want. It is unfortunate that github.com does not make this easier.
Make a snapshot of issues for offline analysis or to communicate with other teams who may not be in GitLab. Create diagrams, graphs, and charts from the CSV data. Present the data in any other format for auditing or sharing reasons. Import the issues elsewhere to a system outside of GitLab.
As other users have commented, CSV export is built into paid versions of gitlab:
https://docs.gitlab.com/ee/user/project/issues/csv_export.html
However that does have issues - it emails the report to you and hence gitlab limit it to 20MB in size, and depending on the version of gitlab you're using some of the fields may not be present in the export.
Thankfully gitlab has a good API (including in the free version), so you can extract issues via the issues API instead, and once you have that data it's very simple to output it in CSV format.
I wrote a very simple perl script that does this, it's available here and should work with free & paid versions of gitlab and also on gitlab.com:
https://gitlab.com/emobix/get-all-gitlab-issues-as-csv
You may export issues to CSV by reading the issue list RSS feed.
Click on the "Subscribe to RSS feed" button in GitLab issue list to get a link.
Then you may programmatically export issues.
I created a small script for this purpose, my snippet: https://gitlab.com/snippets/1868740
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With