GitHub issues into Google Sheets
Recipe github for Sheets API Connector.
1. Get a key
You need a fine-grained personal access token with read access to Issues on the repository. Create it at github.com/settings/personal-access-tokens.
2. Load the example
In Google Sheets open Extensions > Sheets API Connector > Open request builder. Under Load example, pick this recipe. The form fills in with the settings below.
3. Fill in your details and run
Replace OWNER and REPO, for example nodejs/node. Pull requests also appear in this list; GitHub marks them with a pull_request field.
Paste your key under Auth, then click Run. Click Save to keep it, and set Scheduled refresh to refresh it daily or hourly (paid plans).
Settings
| Method | GET |
|---|---|
| URL | https://api.github.com/repos/OWNER/REPO/issues?state=all&per_page=100 |
| Headers | Accept: application/vnd.github+json and X-GitHub-Api-Version: 2022-11-28 |
| Auth | Bearer token: your GitHub token |
| Pagination | Link header · Max pages 20 |
| Records path | (blank: the response is a list) |
| Layout | One row per record |
| Only these fields | number, title, state, user.login, labels.0.name, created_at, closed_at, html_url |
GitHub pages with a Link response header that names the next page, which the Link header mode follows.
If it fails
- HTTP 404: OWNER/REPO is misspelled, or the token cannot see a private repository.
- HTTP 403 rate limit: Wait for the hourly limit to reset, or lower Max pages.
- Anything else: click Copy diagnostics on the error card and email it to support@tanglement.ai. Keys and tokens are removed from the report. Failed runs do not count toward your monthly requests.
Google Sheets is a trademark of Google LLC. This add-on is not made or endorsed by Google. Other product names are trademarks of their owners.