Examples - Delete Issue
The example below will delete the sub-tasks of the issue transitioned if the status category of the issue transitioned is “Done”.
If you need to refer to the user who made the transition, use currentUser in the Jira Expression. If you use “user” instead of it, it will always refer to the app user, so the results will not be as expected.