Skip to content

Add a Team Members query to the GitHub data source - #875

Open
codyconfer wants to merge 1 commit into
mainfrom
feature/team-members-query
Open

codyconfer wants to merge 1 commit into
mainfrom
feature/team-members-query

Conversation

@codyconfer

Copy link
Copy Markdown
Contributor

Type of Change

  • 🚀 Feature

Feature

What is this feature?

Adds a Team Members query that takes a GitHub organization and team slug, with no repository required. It follows GitHub’s pagination and returns one row per visible member, with login, name, and url columns.

Why is this feature needed?

Dashboard authors can populate a variable from a live GitHub team roster instead of maintaining a list of usernames or writing a custom GraphQL query.

How to test this feature

  1. Configure the GitHub data source with credentials that can view the team’s membership (read:org for a classic personal access token).
  2. Select Team Members in the query editor and enter the organization and team slug (not the display name).
  3. Run the query and verify that the table shows the expected members and columns. Use login as the value for a dashboard query variable to verify that the roster can drive dashboard filters.

Please check that:

  • Tests for this change have been added/updated (data frame output).
  • Documentation has been added/updated.

Special notes for your reviewer

This draft uses the branch as pushed. Its history includes four Go/lint commits from #817, which was squash-merged. Those commits are not part of the Team Members feature; the branch should be updated against main before review.

@codyconfer
codyconfer force-pushed the feature/team-members-query branch from 7650a05 to 372f36c Compare December 1, 2026 23:28
@codyconfer
codyconfer marked this pull request as ready for review December 3, 2026 20:58
@codyconfer
codyconfer requested a review from a team as a code owner December 3, 2026 20:58

@bossinc bossinc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having issues getting it to run. (chatting in slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add a Team Members query to the GitHub data source

2 participants