Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Como validar un campo de texto multilinea

Miguel Angel Diez February 24, 2023

Dentro del flujo de un proyecto tenemos unos validadores para poder pasar de estado.

Tenemos problemas para comparar si hay datos en un campo de texto multilínea.

Queremos que no pase de estado si el campo está vacío. Hemos probado comparando con "" y [] pero no lo conseguimos.

Muchas gracias.

 

3 answers

2 accepted

0 votes
Answer accepted
Miguel Angel Diez February 28, 2023

Sorry, Trudy.

 

image.png

0 votes
Answer accepted
Trudy Claspill
Community Champion
February 27, 2023

Hola @Miguel Angel Diez 


¿Puede mostrarnos la opción de Validador real que seleccionó?

---

Hello 

Can you show us the actual Validator option you selected?

How to validate a multiline text field

Within the flow of a project we have some validators to be able to go from state to state.

We are having trouble comparing if there is data in a multiline text field.

We want it to not pass state if the field is empty. We have tried comparing with "" and [] but we didn't get it.

Thank you so much.

Miguel Angel Diez February 27, 2023

Hola Trudy

el campo Imprevistos es el campo multilinea.

Mostrando image.png

Mostrando image.png

Trudy Claspill
Community Champion
February 28, 2023

Desafortunadamente, las imágenes que proporcionó no se muestran. ¿Puedes intentar subirlos de nuevo?

---

Unfortunately the images you provided are not displaying. Can you try uploading them again?

 the Contingencies field is the multiline field.

Trudy Claspill
Community Champion
March 1, 2023

Hola Miguel,

¿Obtuvo esta opción de Validador al agregar a su instancia de Jira el complemento de terceros "Workflow Enhancer for Jira"?

https://marketplace.atlassian.com/apps/575829/workflow-enhancer-for-jira?tab=overview&hosting=server

Si es así, ¿ha probado la opción de validación de expresiones regulares?

https://tngtech.atlassian.net/wiki/spaces/WORKFLOW/pages/3345252361/v4.0.4+Using+the+Workflow+Enhancer#Regular-Expression

---

Hello Miguel,

Did you get this Validator option by adding to your Jira instance the third party plugin "Workflow Enhancer for Jira"?

https://marketplace.atlassian.com/apps/575829/workflow-enhancer-for-jira?tab=overview&hosting=server

If so, have you tried the Regular Expression validator option?

https://tngtech.atlassian.net/wiki/spaces/WORKFLOW/pages/3345252361/v4.0.4+Using+the+Workflow+Enhancer#Regular-Expression

Miguel Angel Diez March 1, 2023

No he obtenido ningún complemento del Jira. Lo he ejecutado desde el Jira standard.

Trudy Claspill
Community Champion
March 1, 2023

¿Puede ir al Editor de flujo de trabajo, ir a la pestaña Validadores para una transición de flujo de trabajo, comenzar a agregar un nuevo Validador y mostrarme la opción de Validador que está eligiendo cuando agrega un Validador como los del flujo de trabajo actual?

---

Can you go to the Workflow Editor, go to the Validators tab for a workflow transition, start to add a new Validator, and show me the Validator option that you are picking when you add a Validator like the ones in the current workflow?

I haven't gotten any plugins from the Jira. I have run it from the Jira standard.

Miguel Angel Diez March 2, 2023

Hola Trudy.
Usamos esta configuración

image (2).png

0 votes
scott_boisvert
Community Champion
March 2, 2023

Instead of = "" try = null

Miguel Angel Diez March 7, 2023

Hi Scott

We have tried but not works.

 

Thanks.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events