How to prevent data from being sent every time the app is refreshed in Forge Jira app?

Hi all,

I’m currently developing a Forge app for Jira that fetches worklogs of a given project and sends the data to a Jira Table using sendDataToNodeJsServer().

However, I noticed that the data is being sent every time the app is refreshed, which is not ideal. I would like to prevent this from happening and only send the data when I want to.

Can someone provide guidance on how to prevent data from being sent every time the Forge Jira app is refreshed ?

Thanks in advance!