Skip to main content

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

ParameterTypeRequiredDescription
OwnerStringYesThe account owner of the repository (case-insensitive).
RepositoryStringYesThe name of the repository without the .git extension (case-insensitive).
StateStringNoFilter by issue state: "open", "closed", or "all" (default is "open").
LabelsStringNoFilter by label names, comma-separated (e.g., "bug,enhancement"). Only issues with all specified labels are returned.
Sort byStringNoField to sort by: "created", "updated", or "comments" (default is "created").
DirectionStringNoSort direction: "asc" for ascending or "desc" for descending (default is "desc").
SinceStringNoOnly return issues created or updated after this timestamp (ISO 8601 format, e.g., "2024-01-01T00:00:00Z").
AssigneeStringNoFilter by assigned user. Use a username, "none" for unassigned issues, or "*" for any assigned issue.
CreatorStringNoFilter by the user who created the issue (GitHub username).
Mentioned userStringNoFilter by a user mentioned in the issue (GitHub username).
MilestoneStringNoFilter by milestone number, "none" for issues with no milestone, or "*" for issues with any milestone.
Results per pageIntegerNoNumber of results per page (default is 30, maximum is 100).
PageIntegerNoPage 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?"

Troubleshooting

FAQs