Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Working with Atlassian Forge limitations: creating long-running tasks

Atlassian Forge makes it possible to build a fully-functional app in just a few hours, with hosting, multiple development environments, and API authentication built-in. Forge can be used to build custom apps and integrations or apps distributed through the Atlassian Marketplace.

Due to the nature of the Forge ecosystem, a few limits exist around execution time and resource usage. One of those is the 25 second runtime limit. So - how do we build apps that need to run for longer than 25 seconds?

One solution is to break a long-running task into smaller 25 second blocks. We have published a guide on how to Use Async Events API to queue jobs to import objects into Assets. This example deals with integrating with JSM Assets, but the techniques are relevant to any long-running tasks.

You can find the guide here:

1 comment


Log in or Sign up to comment
Mike Burns
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 29, 2023

Is there a repo available for this example? The guide is good but a repo would be great :)

Like Rick Munoz likes this
AUG Leaders

Atlassian Community Events