App migration task blocks Jira from working

Hi there!

We are working in our App, Projectrak Data Center, and we need to update data from one of our App tables in a migration task for a new version.

Testing it, we have realized that if the migration task takes too long Jira is blocked. Jira is unblocked and continues working well after the migration task has ended.

We have just removed all the business logic in the migration task and put just dummy code to see if we were doing something wrong or we were blocking the database. With this dummy code Jira was blocked just the same.

So, my question is, is it working as expected? Should App migration tasks block Jira? If we need to do a major process here, what can we do not to block Jira?

Cheers.