How to handle slow REST calls in Forge (10 seconds limit)

I’m glad that this topic comes up. We are currently struggeling with the Forge limits as well. With Easy Subtask Templates we’re creating a lot of issues via the “/rest/api/3/issue/bulk” endpoint. We are executing the creation from a backend function. Unfortunately the endpoint is very slow when creating over 10 issues (up to 30 sec.). Our backend function execution quite often gets killed by the 10sec limit which breaks the application. So we ended up, chunking the creation into smaller batches which feels ugly and leads to other problems.

I also agree with @sven.schatter s explanation as we also noticed the described bottleneck of @forge/bridge.

In a first step it would be a great help for our app if Atlassian could increase the max. timeout of Forge backend functions to about 45 seconds (at least for vendors who ask for it) as this would solve most of our customers problems for now.

Cheers
Julian

3 Likes