Some of our workes don't take ownership of an issue when closing it.
I'd like to add an automation, that if the issue is unassigned and the issue is being closed, then the ownership automatically goes to the current user.
I made it so far, that I can assign it to a specific user (e.g. always to me, even if Peter closes the issue), but it has to be the user closing the issue who gets assigned.