Last active
March 22, 2022 18:28
-
-
Save zbettenbuk/dc414036f4840641e7feb44ed271701f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script exports all issues from all repos of a github organization into CSV format without headers | |
# Handy when you want to migrate your issues to some other task tracking systems | |
# | |
# You need to install and configure gh (https://cli.github.com/) | |
# Replace ORG_NAME with your org name | |
# | |
# Feel free to fine tune with additional filters or fields | |
gh repo list ORG_NAME --json name | jq -c '.[] | .name' | xargs -I % gh issue list --repo ORG_NAME/% --json title,body --limit 1000 | jq -r '.[] | [ .title, .body ] | @csv' > issues.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment