Repository navigation
fix(bitbucket-pull-requests): use Backstage fetchApi for API calls and access bitbucket.proxyPath via config.d.ts - #6759
Merged
Merged
Conversation
…d access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]>
Contributor
Changed Packages
|
…d access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]>
…d access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]>
2 tasks done
awanlin
requested changes
Jan 7, 2026
awanlin
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the contribution @Shubhammete, left a pair of small comments. 👍
| * Proxy path for BitBucket API requests | ||
| * @visibility frontend | ||
| */ | ||
|
|
Contributor
There was a problem hiding this comment.
Can we remove this space here, please?
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| '@backstage-community/plugin-bitbucket-pull-requests': minor | |||
Contributor
There was a problem hiding this comment.
Suggested change
| '@backstage-community/plugin-bitbucket-pull-requests': minor | |
| '@backstage-community/plugin-bitbucket-pull-requests': patch |
The behaviour isn't changing and your actually fixing things so patch is fine for this 👍
…d access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]>
Contributor
Author
|
Thanks for the review @awanlin! 🙌 |
mbruhin
approved these changes
Jan 7, 2026
fjudith
pushed a commit
to alithya-oss/community-plugins
that referenced
this pull request
Feb 19, 2026
…d access bitbucket.proxyPath via config.d.ts (backstage#6759) * fix(bitbucket-pull-requests): use Backstage fetchApi for API calls and access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]> * fix(bitbucket-pull-requests): use Backstage fetchApi for API calls and access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]> * fix(bitbucket-pull-requests): use Backstage fetchApi for API calls and access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]> * fix(bitbucket-pull-requests): use Backstage fetchApi for API calls and access bitbucket.proxyPath via config.d.ts Signed-off-by: Shubhammete <[email protected]> --------- Signed-off-by: Shubhammete <[email protected]>
2 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey, I just made a Pull Request!
This PR fixes an issue in the Bitbucket Pull Requests plugin where API calls were made using
cross-fetchinstead of Backstage’sfetchApi, causing authentication failures when using the Backstage proxy. Additionally, the bitbucket.proxyPath configuration was not being read from app-config.yaml. This PR exposes the bitbucket configuration to the frontend via config.d.ts, following the Backstage guideWhat was changed
cross-fetchcalls withfetchApi.fetchbitbucket.proxyPathfrom app-config.yaml/bitbucket-prs/api) to work correctly✔️ Checklist
Signed-off-byline in the message. (more info)Fixes #6367