Workflow Step Timing Out When Creating 15 Sub Tasks

We have a requirement to auto-create 15 Sub-Tasks on a workflow transition - but our several attempts so far are getting timeout errors - "The call to the JIRA server did not complete within the timeout period"

We initially used Script Post Function - but that had limited success - timed out most times and failed to created sub-tasks - and sometimes cauased the JIRA service to crash.

We then used the "Create On Transition" Add-On - this had much more success, but still timeouts occasionally, but even with a timeout it successfully creates the sub-tasks

BackGround - All Subtasks are exactly the same, to customisations apart subject line same as parent and different assignees for each ticket.

We are using JIRA 6.27 on 32 bit server - so can only allocate 1.5gig of JVM - this is our Test server, our Prod server has 4gig of JVM allocated - so in theory this issue may not exist when we migrate to Prod, but we are reluctant to move anything in prod that potentially can crash it.

So - seeking your advice

My first thought - is there a pause option or way to break up this workflow transition into chunks to allow better processing?

Or - Is there a better way to create these sub tasks? 

1 answer

Please try to increase the tomcat session timeout setting and restart the JIRA services and try.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,124 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you