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

This widget could not be displayed.

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.

This widget could not be displayed.

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

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

578 views 25 15
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