List repository issues
GitHub list repository issues action to list issues from a specific GitHub repository. This is a read-only action that returns issue metadata with support for filtering by state, assignee, labels, creator, and other criteria, plus pagination for large result sets.
Prerequisites
-
Your admin must install and configure the GitHub connector, add the GitHub actions pack under Admin > Actions, and enable this action.
-
A GitHub app must be installed on the relevant organization(s) and linked to the correct GitHub datasource in the Glean admin console.
-
The GitHub app must have read permissions to repository issues.
Supported parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Owner | String | Yes | The account owner of the repository (case-insensitive). |
| Repository | String | Yes | The name of the repository without the .git extension (case-insensitive). |
| State | String | No | Filter by issue state: "open", "closed", or "all" (default is "open"). |
| Labels | String | No | Filter by label names, comma-separated (e.g., "bug,enhancement"). Only issues with all specified labels are returned. |
| Sort by | String | No | Field to sort by: "created", "updated", or "comments" (default is "created"). |
| Direction | String | No | Sort direction: "asc" for ascending or "desc" for descending (default is "desc"). |
| Since | String | No | Only return issues created or updated after this timestamp (ISO 8601 format, e.g., "2024-01-01T00:00:00Z"). |
| Assignee | String | No | Filter by assigned user. Use a username, "none" for unassigned issues, or "*" for any assigned issue. |
| Creator | String | No | Filter by the user who created the issue (GitHub username). |
| Mentioned user | String | No | Filter by a user mentioned in the issue (GitHub username). |
| Milestone | String | No | Filter by milestone number, "none" for issues with no milestone, or "*" for issues with any milestone. |
| Results per page | Integer | No | Number of results per page (default is 30, maximum is 100). |
| Page | Integer | No | Page number for paginated results (default is 1). |
Usage examples
-
"Show me all open bugs in the 'octocat/Hello-World' repository."
-
"List closed issues assigned to me in the 'facebook/react' repository."
-
"What are the most recently updated issues in 'microsoft/vscode' with the 'enhancement' label?"