Skip to content

feat: update GitHub issues API to support fetching issues by repository host#8135

Open
sonikro wants to merge 1 commit intobackstage:mainfrom
sonikro:main
Open

feat: update GitHub issues API to support fetching issues by repository host#8135
sonikro wants to merge 1 commit intobackstage:mainfrom
sonikro:main

Conversation

@sonikro
Copy link

@sonikro sonikro commented Mar 17, 2026

Hey, I just made a Pull Request!

Problem

  1. Not all groups are (github groups), some are manually created groups and they don't have locations that are valid URLs. WHen this is the case, the application crashes when trying to parse the hostname from the URL.
  2. A Group can own Github Repositories across multiple github hosts

By moving the hostname discovery from the Group to the Repo (and splitting the query into one per github host) we solve both problems.

This allows groups that are not synced from Github to still use the plugin + adds a new feature that allows you to see all of your issues across multiple github instances.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)
  • All your commits have a Signed-off-by line in the message. (more info)

@backstage-goalie
Copy link
Contributor

backstage-goalie bot commented Mar 17, 2026

Changed Packages

Package Name Package Path Changeset Bump Current Version
@backstage-community/plugin-github-issues workspaces/github/plugins/github-issues minor v0.19.1

@backstage-goalie
Copy link
Contributor

Thanks for the contribution!
All commits need to be DCO signed before they are reviewed. Please refer to the the DCO section in CONTRIBUTING.md or the DCO status for more info.

@sonikro sonikro force-pushed the main branch 2 times, most recently from 268569c to 743dad7 Compare March 17, 2026 17:24
…sitory host

Signed-off-by: Jonathan Nagayoshi <jonathan@nagayoshi.com.br>
@sonikro sonikro changed the title refactor: update GitHub issues API to support fetching issues by repository host feat: update GitHub issues API to support fetching issues by repository host Mar 17, 2026
@sonikro sonikro marked this pull request as ready for review March 17, 2026 17:33
@sonikro sonikro requested a review from a team as a code owner March 17, 2026 17:33
@sonikro sonikro requested a review from vinzscam March 17, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants