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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Should work fine on create, just make sure the create sub-task post-functions are last.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check the logs...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.