Examples - Copy Fields from Another Issue
The example below assigns the sub-tasks of the current issue to the same user that the issue has been assigned to.
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.