Why does creation of subtasks in automated transition takes ages

I have an automation rule that transitions an issue when all linked issues are resolved. In the transition of the parent issue, I create a couple of subtasks as well as a couple of cloned-and-linked issues in other projects. 

If I perform the transition manually it takes like 50 seconds which feels OK for me. However when the automation rule performs the transition the operation can take about 5-10 minutes. And during that period it seems like all issue views and boards that show the issue cannot be loaded. 

Can anyone answer why there is such a performance issue when doing the same operation using automation? And if there is anything I can do about it?

2 answers

0 vote

It sounds like your code is doing a vast amount of work or your server is vastly underpowered - 50 seconds is a ridiculous amount of time for a transition.  Could you explain what you have set up in more detail?

I suppose the reason for taking so much time as 50 seconds is that I create 5 sub-tasks and 3 clone-and-links. This is however not my main problem. 

However I see now it seems like the automated transition has created sort of "ghost" issues. Issues that should have been a sub-task to the parent issue is instead a normal issue. I can see them in the Agile board, but it is not possible to click on them since JIRA tells med they don't exist. In some way they are both created and not created. 

Your code is very very broken if it's doing this sort of thing. You should really remove it, move it to a test system and fix it.

You may be impacted by a critical JIRA issue that impacts automation like this: JRA-40942.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,326 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot