This validator controls if current user has specified a comment for some resolution.
It is possible to select with Resolution need a Comment..
When specified, the selection of these resolutions will require a comment.
The Validator configuration may be done in XML in Workflow descriptor as follow :
<validators> <validator type="class"> <arg name="class.name">com.company.jira.workflow.validator.ResolutionCommentValidator</arg> <arg name="mandatoryWorklog">false</arg> </validator> </validators>