Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleWarning

The Worklogger Validator can be used in conjunction with a Worklogger Custom Field


What is it?

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.

If you have defined a Worklogger Custom Field in the Issue Create Screen, you can use this validator in the Globlal Transition associated to the Edit Operation.


Configure the Worklogger Validator

  • 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.

    ParameterDescription
    Is Worklog MandatoryIf the worklog is mandatory, the transition will not be run if the worklog is not entered
    Is worklog comment worklog comment mandatoryIf 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 :
  • If the Comment (Work Description) is entered



  • If the Work is logged,

Excerpt
hiddentrue

this Workflow Validators allows to validate values specified through the Log Work Field.

Panel

On this page:

Table of Contents

Content by Label
showLabelsfalse
spacesMINYAA
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "MINYAA"
labelsdocumentation-space-sample

Info
titleUseful hint

See also ...