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.
requestBitbucket
@
forge/bridge
requestJira
Regards,Renato
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.
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
Hi @Caterina Curti
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
Hi @Saxea _Flowie_ There is now a ticket to follow for this request:https://jira.atlassian.com/browse/BCLOUD-23027Thank you again for bringing it up.Cheers,Caterian
It looks like you're new here. Sign in or register to get started.