Hai all,
I am in a need to store data using @forge/api. but i can’t use it inside custom UI forge app. So i go with UI kit forge app. But it’s still in beta. If i develop a forge application using UI kit, can i publish it in atlassian marketplace? If any risks are there, kindly tell your suggestions.
Indeed, you can’t directly use @forge/api in a CustomUI application, you have to define a Forge function first with @forge/resolver then invoke this function in your Custom UI app via the @forge/bridge package.
You can also use the requestJira or requestConfluence functions from the same package, but note that will call the product API on the current logged user behalf.
Thanks for the quick response @clement_garin. But now i am looking on one problem to create an admin configuration page after installing an application. I just install some applications for reference. Before installing that application it will move into configuration page after clicking get started button. After configuring only, the user can see an application in their instance. How they did that? I also need that same functionality. Is it possible to do it by using forge apps or its only applicable for connect apps?
Hey @SuryaA , I think you can do that in Forge too by using the Forge App Storage API to store a flag once your app is configured by the user.
Then, in you app frontend, you can retrieve this value :
If the flag doesn’t exist / is false: display the “Getting started” view, which lead to the configuration form, which set the flag to true once completed
Hai @clement_garin I have a doubt to create a configuration page before installing(post installing page). How to create a post installed page in jira and how to connect it with descriptor file?
@clement_garin My requirement is to create a get started button after installing app using postinstallpage and create config page also. I know it can only done by using connect app. But i don’t how to do that. can you send any reference documents to complete my requirements?
Do I understand correctly that I can use the api.asApp() in a Custom UI app if I define a function in the resolver that is using it?
I really need the asApp functionality for our app.
Hi Daniel,
Thank you for the code this is exactly what I was looking for in my previous comment.
Could you please elaborate a bit on these correct authorization check? Currently I’m getting a 403 error which I think is related to this but in the documentation I read that the asApp() uses the permissions that the default user group has.