Hi guys,
I'm using Script Runner version 6.2.1-p5 with Jira server version 8.6.1
I have a transition that contain 2 post functions (custom script).
First script => create a subtask
Second script => get the list of subtask (that was created from previous script).
In my second script, I use below code to get subtask:
Collection subTasks = issue.getSubTaskObjects();
But it doesn't work. My subTasks variable is still empty (although the subtask has already been created from my first script)
Anyone could give me an advise? I'd be much appreciated.