How to stop Forge platform from automatically retring processes

https://developer.atlassian.com/platform/forge/runtime-reference/async-events-api/

The page above states that if platform level errors such as timeout/ratelimit errors occur, Forge platform will automatically retry the async event.

Our Forge application has a function to create bulk issues on behalf of users, but sometimes same issues are created multiple times, and we want to avoid this to happen.
Is there any way to stop Forge platform from automatically retring the process?

Hi @nakagome

One approach is to use the Forge Storage to keep track of which tickets have already been created.

1 Like

Hi @JoshuaHwang

Thank you for your reply.

For the timeout errors like the 25 secs runtime limit, we came up with one solution to invoke a retry with retry data that indicates which tickets have already been created before the current process time reaches 25 secs.
But checking the Forge Storage records before creating tickets seems to be a better solution to deal with all platform level errors.