Hi,
How can I call a Bitbucket REST API from the front end using a Custom UI, since there's no requestBitbucket
in @
forge/bridge
? Similar to requestJira
.
Regards,
Renato
Hi @Saxea _Flowie_
There is now a ticket to follow for this request:
https://jira.atlassian.com/browse/BCLOUD-23027
Thank you again for bringing it up.
Cheers,
Caterian
Hi @Saxea _Flowie_ ,
Have a look at how we did it in the Example apps: https://developer.atlassian.com/platform/forge/example-apps-bitbucket/
We just published those a few days ago. They use UI Kit 2 but I hope it's still going to be useful.
For example in the Bitbucket related pull requests app, the request is implemented in the resolver (check this file out: https://bitbucket.org/atlassian/forge-bitbucket-related-prs/src/main/src/resolvers/utils.ts).
We are also working on making the requestBitbucket available.
Hope this helps,
Caterina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the examples. I'm looking for a replacement for Connect request in order to port our existing connect app.
I'll wait for the requestBitbucket to be available.
Cheers,
Renato
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you might want to try from the resolver side, via asApp or asUser.requestBitbucket from the @Forge/api package. We are not familiar with frontend only solutions yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.