Script runner addon - sub tasks not being created

I have a task composed of several subtasks that have to be done sequentially. I want to create all of them when a task is created, but I couldn't make the script runner plugin to work. I have added a post function like the image, but it doesn't work. I create the task and no sub task is created. I have checked that the post functions work adding another one which was executed correctly. Is there anything else I have to do?

Thanks for your help.

1 answer

1 accepted

This widget could not be displayed.

That should be fine. If you remove your additional code does it work?

> I have checked that the post functions work adding another one which was executed correctly

Can you explain what this means?

No, it doesn't work by removing the additional code. I have 6 sub tasks that are supposed to be created... I don't know if they are too many. Can that be the problem?

What I mean by that sentence is that I have other post functions in the same transition that are executed correctly. All of them except for the ones related to sub task creation.

Hi again,

I have just realized that in the "create" transition it doesn't work, but in another transition between 2 states it does work. Am I missing something or is this how it is supposed to work?

Thanks

Should work fine on create, just make sure the create sub-task post-functions are last.

I have a problem getting this to work. I set the post function last, but it's still not creating the subtask. Any other tips?

check the logs...?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

507 views 3 18
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