Is there a way of displaying all repos which have linked to a GitHub Project? #169519
-
Select Topic AreaQuestion Feature AreaProjects BodyI am still new to the GitHub Projects. I've created a few, which have been good, but at these so far rather primitive. One thing I've never been able to figure out is if there is any way to see all repositories which have linked to a GitHub Project, from the GitHub Project's point of view. None of the GitHub Project Templates seem to have that. Today I created a new GitHub Project in our enterprise organization, then I went to 5 different repos, all of which comprise a single software solution, to link to the new project from the repos. That's cool, that's nice, and certainly when I go to any of those 5 repos I can see the linked to GitHub Project from it. But, from the GitHub Project I don't see any of those 5 repos. This is a serious issue for me and anyone else who would work on any of those 5 repos. Those 5 repos haven't been worked on in about 5 years and there are no plans to make any modifications to them, but the function the software project represents is important to our business. Anyone in the future could visit all the hundreds of repos we have, looking to see which ones participate in the GitHub Project, but that's tedious. So, is there is any way of seeing all repos linked to a GitHub Project, please let me know. Guidelines |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
hey ,Currently, GitHub Projects does not natively display a list of all linked repositories from the project’s side. but, Use GitHub’s API to Fetch Linked Repos You can programmatically retrieve linked repositories using the GitHub GraphQL API. Example query:( graphql ) Tools like GitHub CLI or Postman can help run this. |
Beta Was this translation helpful? Give feedback.
-
|
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. 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: Replace YOUR_PROJECT_ID (find it via the project’s URL or API). Manual Tracking: Add a README or Note field in your project listing all linked repositories (manual but visible to collaborators). |
Beta Was this translation helpful? Give feedback.
-
|
No , GitHub Projects currently does not provide a built-in way to list all repositories linked to a project from the project’s view. You can only see the link from each individual repository’s page. The only workaround is to maintain that list manually (e.g., in the project description or a custom field) or use the GitHub API to query linked repositories. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
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:
Replace YOUR_PROJECT_ID (find it via the p…