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 Adding a Worklog Validator
  • Its configuration allows you to specify if the Worklog is mandatory or optional.

    Worklog Validator

    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:
    Worklog Validator
In case of Mandatory Worklog, the validator will raise an error if no worklog is specified

Worklog Validator
 



Validation Errors

Depending on own 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
Logged Work validated by CustomField

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

    Work Description validated by Validator

  • If the Work is logged,

    Logged Work validated by Validator
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 ...