Kaamelot provides usefull Workflow Conditions
Key | Description |
---|---|
commented-resolution-validator | Validates that the user has entered a Comment if Resolution is one of listed resolutions. |
workable-issue-validator | Validates and Creates Worklog with attributes provided by WorklogCFType. |
regexp-field-validator | Validates Field based on Regular Expressions. |
This validator verifies if a Comment has been entered for Resolution specified as requiring a comment.
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 Worflow 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>
The Worklog Validator is a extra way to enter Worklog during a Transition.
It is fully detailled in the WorklogCFType section.
It is able to scan all fields defined in the current Screen (Create, Edit or Workflow Transition).
And it evaluate the respect of Regular Expression for Field based RegExpCFType.
<validators> <validator name="" type="class"> <arg name="class.name">com.atlassian.jira.workflow.validator.RegExpCustomFieldValidator</arg> </validator> </validators>