This workflow locks an issue so that comments cannot be added after the issue is resolved.
Disable comments for verified issues (on-change rule)
This workflow was originally taken from a submitted request JT-7326.
The user who submitted this issue wanted a way to lock an issue so that comments cannot be added after the issue has been resolved.
When an issue is updated, this rule verifies that the issue is already in a state that is Verified and is not set to this state as a result of the update. This prevents the user from setting the state to Verified and adding a comment in the Apply Command window. If this condition is true, the rule verifies that the update does not include a comment.
If the update does not include a comment, the issue is updated.
If the update includes a comment, a warning is displayed. The comment is not added to the issue.