I am building the Jira forge app.
I am trying to fetch the details from the 3rd party API and the API response contains more than 1000 records. And with that data, I need to create the Jira issues. All that process takes more than 25 seconds to complete.
I tried to use Async Events API to make that happen in the background without getting the error of "Unexpected error in app", but it also does not complete the process of creating the issues. It only creates some of the issues.
How can I fetch all responses and create it issues when I sync the app and create the tickets by overcoming the 25 seconds limitation for the invocation?