Versions Compared

Key

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

Table of Contents
maxLevel1

Section
Column
width30%
Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents

Column

Features used to implement the example



Example: If field A is populated then field B must also be populated

I will explain how to implement a validation "If field A is populated field B must also be populated " using  Boolean validator with math, date-time or text-string terms using the following configuration:

Image Removed

Text to be parsed is: %{11200} = null OR (%{11200} != null AND %{11600} != null) 

Image Added


Note that:

  • %{11200} is the field code for field A
  • %{11600} is the field code for field B

Field codes depend on each Jira instance. There are select list in validator configuration screen to insert field codes in your boolean expression.

Once configured, the validator will look like this:


Image RemovedImage Added



Other examples of that function

Incoming Links
pageBoolean condition and validator with math, date-time or text-string terms
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "validator"