This validator controls if current user has specified a comment for some resolution.
It is possible to select Resolution for which a Comment is needed.
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="selectedResolutions">1,2</arg> </validator> </validators>