in order to automatically assign the issues we need to modify the post function of transition in workflow
Post-functions are added/edited in the workflow configuration screen. This doc will help you out with this.
It looks like you're new here. Sign in or register to get started.