In this example all sub-tasks will be transitioned if parent get's transitioned. When parent issue get's transitioned to "Canceled", all sub-tasks should be transitioned to "Canceled", too.
For this the post function Transition issues will be implemented in the parent issue's workflow transition "Cancel Issue". The configuration will look like this: