This validator is used to perform validations on the worklogs entered by a user in a workflow transition screen using a Worklogger Custom Field. Please see Log Work as Issue Field for more details.
Add the Worklogger Validator to the transition on which you have the screen that has the Worklogger custom field For more information on adding a validator to JIRA, please see JIRA: Adding a Validator
Its configuration allows you to specify if the Worklog is mandatory or optional.
Parameter
Description
Is Worklog Mandatory
If the worklog is mandatory, the transition will not be run if the worklog is not entered
Is worklog comment worklog comment mandatory
If the worklog comment is mandatory, the transition will not be run if no comment is provided in the Worklogger custom field
You will end up with a transition looking like:
Validation Errors
Depending on how your Transition screen is defined, the behaviour of the validation will differ ...
With JIRA 4.2, as soon as the Worklogger Custom Field is used in a transition, log work is mandatory.
If the TimeTracking field is not defined in the screen, then the Worklogger Custom Field will validate :
If work is logged,
If logged work respect format,
Work Log Permission
and the Worklogger Validator will have just to validate :
If the Comment (Work Description) is required
If the TimeTracking field is defined in the screen, then the Worklogger Custom Field allows no Worklog
and the Worklogger Validator, following Validator settings, will have to validate :