Since I am new here, I want to understand how Forge Tunnel works or how i setup my development environment. I am building an application with a custom UI that also makes Jira API calls. During development, I don’t want to deploy every time to my Jira Cloud instance. I see Forge Tunnel, but since it runs locally, I want to know how I can ensure that my Jira API calls, such as creating issues or getting projects, are working correctly. Because while using tunnel i am getting “Failed to establish ready state with product”.
Hi @ParthpuriGoswami1, if you want to ensure your calls to Jira API are working correctly, a quick and simple way would be to console.log
the response to make sure that they are what you expect them to be.
Some caveats to be aware of:
- If you modify the manifest then you need to redeploy your app, the tunnel will not pick up changes to the manifest.
- If you want to tunnel the Custom UI app (the UI portion of your app, not the resolver functions), then you will need to follow these steps.
In regards to getting “Failed to establish ready state with product”
, are you able to provide me with bit more details? In particular when is it showing up for you? does it occur sometimes and not others?
Hi @BoZhang,
So problem is when I tunnel, the UI successfully appear in my localhost. But when i am invoking the resolver. I am getting Failed to establish ready state with product
.
Also, I want to know how an application running on localhost can communicate with Jira without being deployed.
I want to know how an application running on localhost can communicate with Jira without being deployed.
Yes, calls to the product (through asApp
or asUser
) will work.
In regards to the error that you are seeing, does it occur in patterns (when you first load the page? after using the app for a while? etc…)?
Yes, while tunnel UI loads successfully, but when I invoke the resolver, I encounter an error. In my application, I have a form, and when user submit the form, I invoke the resolver. However, after submitting, I receive the error: ‘Failed to establish ready state with product.’
The application works fine when deployed, but the problem is that for minor changes, I need to redeploy it.
@ParthpuriGoswami1 thanks for explaining, I will need to ask around as I am not familiar with this error and haven’t encountered it myself. Will get back to you when I learn something.