Page tree

Versions Compared

Key

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

Introduction

Excerpt Include
Universal user-based condition
Universal user-based condition
nopaneltrue

Validator that checks if related issues meet field-based criteria. Flexible JQL-based issue selection and number of options allow you to customize validation.


You can use this validator for (e.g.):

  • Validating if all subtasks have given status
  • Disallow transition if parent issue has more than 2 components
  • Disallow transition if any subtask of current issue is not assigned.
Element summary
StatusCURRENT
Version campatibility6.0.1 - Latest
SupportedYes
Introduced in version1.0.0

Validator parameters

  • Related Issues - described below
  • Issue field - field to be used in comparison with related issues
  • Compare type

    You may select one of three comparison method

    OptionDescription
     Compare Field ValueCompares value of selected field. If the field contain more than one option (e.g. multi-select type field) all options are listed as comma separated text.
    Regular expressionAllows you to compare field value (same as above) with a regular expression
     Number of elementsReturns number of elements in the field. If the field is simple text or number it returns 1 (if field is not empty). For multi-option enabled fields, number of elements will be returned. Empty field always is zero.


  • Which value - this option allows you to choose which value will be used in comparison

    • Current Value
    • Previous value (last one)
    • Any historical value (excluding current value)
  • Operator & case sensitive - operator for comparison and enabling case sensitivity.
  • Text value - desired value. For some fields it can be list of values.
  • Multiple issue bahaviour - decide how to deal with if more than one issue is selected
  • Failed validation message - Message for user if validation fails
  • Evaluate value on - method of validation
    • Original issue - issue without changes user made (on transition screen)
    • Issue after transition - issue after changes made on transition screen (but it doesn't reflect changes made by post functions)

Excerpt Include
JQL-Based Conditions, Validators and Post Functions
JQL-Based Conditions, Validators and Post Functions
nopaneltrue

Example of usage