Has anyone successfully created a subtask on the Create transition and subsequently linked it to its parent issue automatically in the same transition with a script?
I'd really appreciate if you'd share how this can be done
I believe this can be done with the SR Create Subtask post function.
Since it is a sub task, it needs to have a parent, so if you were to add this post-function in te onCreate transaction, it would create the subtask that you are looking for.
This is the dialog that you need to fill, and it can be accessed in the add postfunction dialog in the workflow transaction editor.
If you have more questions do not hessitate to ask.
That's a good point - a sub-task is always part of its parent and displays as such. The fact it is a sub-task means there is a link to the parent.
Creating an issue link as well is redundant (although if you looked at the code, you'd see an invisible "system" issue link is already there)
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot