Hello,
We have a JIRA Service Desk automation that automatically re-opens an issue from "Resolved" status into "Waiting for support" status when a customer makes a comment.

We also allow them to resolve issues by themselves:


Here's the problem: if the customers resolve the issue and adds a comment then it actually changes it to waiting for support, as it triggers the automation. If they resolve it and add no comment then just resolves it. So it doesn't allow them to add closing remarks.
Why is that? What am I missing here?
Cheers,
Martin