Forge Events and Webtriggers

Hi, I’m currently developing a plugin using custom ui in forge. I am curious, does forge has a way to call a product api from a remote backend and triggers some frontend functions? The app Im currently working is a timer app and I want to log the time in jira when I stopped the timer in my web app (the remote app). I am a beginner so please bear with my stupid questions. Thank you

Hi @TristanJayJVirtudazo

Welcome to the community, and no worries on the “stupid” questions. Everyone needs to learn so stupid questions are few and far between.

Coming back to your question, as far as I know there is no web-socket like functionally in the UI Kit itself or the backend functions. You will likely need to implement some kind of polling to update the UI if there are any updates coming from the backend or a remote.

@AdamMoore did I get this correct?

3 Likes

Thank you for the reply. Pooling is not a good solution in my case since I have to trigger the forge frontend from the remote web app. There could be possible application of pooling in my case but I have yet to discover it, instead, I use websocket to listen from events made in my remote web app for a specific action only.