WTP - I need validate that "Create" action isn't launched if a cascade selection customfield hasn't the right value

In https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/others/ParserI have read:

Text-String: this type of data represents any kind of text or character string. Any field type or data type is susceptible of being transformed to text, so any field can be referenced as a text-string value using the following notation: %{nnnnn}, and %{nnnnn.i} for Cascading Select or Multi-Cascading Select fields, where i is the index that represents the level to be accessed. (i = 0 is used for base level).

My scenario is:

1.- I have a 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:
Servicios No Planificables/Incidencias
Servicios No Planificables/Servicios
Servicios No Planificables/Cambios
Proyectos/Proyectos menores

4.- I need to validate that an issue of "INCIDENCIA" issue type can't be created if "Área/Subárea" is not equal to "Servicios No Planificables/Incidencias"

5.- I have defined in INCIDENCIAS workflow, in Create action the following validator:

If parsed text "#Área/Subárea#" matches the following parsed regular expression: (#Área/Subárea.1#="Incidencias"). Message to show when validation fails: Por favor, seleccione la categoría correspondiente a las incidencias.

To do this I have included in the validator definition the following condition:


But allways, when I try to create an issue of type INCIDENCIAS, the error message defined in the validator appears. It doesn't matter if Área/Subárea has de rigth value.

2 answers

1 accepted

0 votes
Accepted answer


I have answered you in JIRA Workflow Toolbox Help Forum since you have posted the same question there.



Thanks a lot! It has worked!!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

478 views 8 28
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you