Pulls all new issues from a GitHub repo into a spreadsheet
This Dataflow will sync all issues in a particular GitHub repo to a Google Sheet.
The sync is one-way: if an issue changes in GH, the changes will be reflected in the Spreadsheet, but not vice-versa
This Dataflow is useful for extending GitHub issues with new fields, such as priority
, severity
, and timeEstimate
.
You can then calculate things like the number of hours of work to complete a particular milestone.
The Dataflow will push all your GitHub issues to the first sheet in your spreadsheet. Any changes you make to the issues here will be overwritten in the next run.
To add new fields such as priority
or timeEstimate
, add a new column in the first sheet.
These new columns will not be overwritten.
To work with your issues, we suggest creating a second sheet that copies everything over from the first sheet, e.g.
by putting =Sheet1!A1
in row 1 col 1 of sheet 2.
You can then sort the issues, hide closed issues, sum timeEstimates, etc.
You'll need to create a Google Spreadsheet at https://docs.google.com/spreadsheets/
In the first row, add the following cells as column headers:
- number
- title
- labels
- assignee
- state
- milestone
You'll also need to add a dummy data row. Type "1" in cell A2.
It may also help to make this sheet publicly visible by clicking "Share" in the top right, then clicking "get shareable link".
Authorize both GitHub and Google Sheets on the Settings tab. Be sure to include any necessary scopes depending on whether the spreadsheet/repo are public or private.
repoId
and ownerId
can be pulled from the repository URL, github.com/{ownerId}/{repoId}
The spreadsheetID can be pulled from the Google Sheets URL, e.g. for
https://docs.google.com/spreadsheets/d/1FAH5MByiDtRcMxsI23PwPQf7RCOmVj_BhVf8dCtI9iU/edit#gid=0
The spreadsheetID is 1FAH5MByiDtRcMxsI23PwPQf7RCOmVj_BhVf8dCtI9iU
If you have any questions or issues, feel free to contact [email protected]