How can I export GitHub issues to Excel?

前端 未结 12 1859
逝去的感伤
逝去的感伤 2020-12-07 15:46

How can I export all my issues from an Enterprise GitHub repository to an Excel file? I have tried searching many Stack Overflow answers but did not succeed. I tried this so

12条回答
  •  旧巷少年郎
    2020-12-07 16:27

    With the official GitHub CLI you can easily export all issues into a CSV format.

    brew install gh
    

    Log in:

    gh auth login
    

    Change directory to a repository and run this command:

    gh issue list --limit 1000 --state all | tr '\t' ',' > issues.csv
    

    In the European .csv files the separator is a semicolon ';', not a comma. Modify the separator as you want.

提交回复
热议问题