Skip to content
Discussion options

You must be logged in to vote

Great question! Currently, GitHub Projects doesn’t natively display a consolidated list of all repositories linked to it from the project’s perspective. While you can see linked projects from a repository (under the repository’s Projects tab), the reverse isn’t directly available in the UI.
Workarounds:

GitHub API:

You can use the GitHub GraphQL API to query repositories linked to a project. Here’s a sample query to get you started:

    graphql

    {
      node(id: "YOUR_PROJECT_ID") {
        ... on ProjectV2 {
          repositories(first: 100) {
            nodes {
              nameWithOwner
            }
          }
        }
      }
    }

Replace YOUR_PROJECT_ID (find it via the p…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Rod-at-DOH
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Rod-at-DOH
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hadisa
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects Plan and track your project's progress using boards and tables Question Ask and answer questions about GitHub features and usage
4 participants