Jira does not currently support using automation to move issues. The below process suggests an alternative method, by cloning an issue and deleting the original.
To move an issue using automation:
Add a Clone issue action to your rule and select the project you want to move the issue to.
Add a Delete issue action to delete the original issue.
While many of your existing field values will be retained, some items, such as attachments, will not be cloned with the issue.
See other Jira automation use cases in our Jira automation template library.