Versions Compared

Key

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


Section


Column
width30%600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel1



Column




Example: Validation on the value of a Cascading Select field

  1. I have an issue type INCIDENCIA
  2. I have a custom field of Cascading Select type named "Área/Subárea". 
  3. The correct values for "Área/Subárea" area: 
    1. Servicios No Planificables/Incidencias 
    2. Servicios No Planificables/Servicios 
    3. Servicios No Planificables/Cambios 
    4. Proyectos/Proyectos menores 
  4. I need to validate that an issue of "INCIDENCIA" issue type can't be created if "Área/Subáreea" is not equal to "Servicios No Planificables/Incidencias
  5. I have defined in INCIDENCIAS workflow


If you use Boolean validator with math, date-time or text-string terms you have to use the following configuration:


Text to be parsed: %{13700.1} = "Incidencias"


Note that:

Field code for field "Área/Subárea" is %{13700}.

This field code depends on each Jira instance. You can find the code for you particular Jira instance in the field list available the validator configuration screen.


Once configured, you transition will look like this:


You can also use another feature of Jira Workflow Toolbox: Validation based on regular expression. If you use that feature you should use the following configuration:




Other examples of that function

Boolean validator with math, date-time or text-string terms

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



Validation based on regular expression

Incoming Links
pageCondition and validaton validation based on regular expression
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "custom-field"