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


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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Apr 10, 2018 in Marketplace Apps

Learn about how Stefan K. built one of the *first ever* Marketplace apps

In this post you will discover more about the evolution of K15t software, some big topics they're currently focusing on in the app space, and a rare (not not funny!) photo of founders Mike Cannon-Bro...

12,821 views 11 24
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