In the following use case the issue gets automatically assigned to the current user.
Add the Update or copy field values post function to the desired transition or create a new transition.
Choose Current issue
Choose Assignee
In the popup, choose the value Copy field value from current issue
Choose Current user
Update or copy field values