Dear Community!
We are relatively new to Jira, but made a huge progress thanks to the helpful community. However, we are stuck with a problem, that might cause long-term issues. I have read many articles and tried different methods, but the issue still persists.
So, all we would like to achieve, is that when an issue status changes to DONE, then the resolution also changed to Resolved. So far, we managed to implement this with automation. Here is how we did it:

Now, we would like the opposite. When a user adds a comment, our status goes back from DONE status to TO DO, and the Resolution goes back to Unresolved. The problem is, that it does not go back to Open issues, as the Unresolved field is a Resolution field. How should we set it up?
Here is my autimation that transitions the resolutions back to Unresolved. Now it is set so that a comment from a customer or anyone would set the resolution to Unresolved, but the best would be to change the resolution to Unresolved by changing the status. It is easy however, the only question is how to actually put the tickets to the open tickets.
Thank you very much in advance, I hope I managed to explain everything.
Máté