Hello!
Trying to create an automation rule where every time an issue transitions On Hold a window dialogue to add a mandatory comment would open.
You can't do this with automation, since they execute after the issue is transitioned. What you should do is add a transition screen in the workflow and make the comment field required by adding a validation rule to that transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.