Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I want to add an field validator that makes sure that users fill in the 5 why's & answers's on root cause of the finding field, the issue is that regular validator will not work as field has already some content
Hello @Tiago Pereira
You can try to achieve this by Conditional Validator thorugh JMWE plugin or Scriptrunner.
One more alternative is to Clear Field in previous transition by using Clear field value post function so that normal validator can be applied.
Feel free to ask if any other query regarding this.
Thanks
But I don't want it to be cleared, the 5 Why's & Because must stay there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In that case you can try to achieve this by applying conditional validator through JMWE plugin or scriptrunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I placed this validator that checks if length is greater than 69 characters which as you can see is "False" but still ticket is not being blocked on the transition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What condition are you trying to put here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So user is obligated to add data to why & because data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tiago Pereira
Sorry for miss understanding the issue. But what kind of field have you taken for the root cause? They are 5 why's and Because.. how to differentiate these why's from each other?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So Root Cause of the Finding is an custom field, that is populated w/ 5 why & because via an automation.
I wan to make sure that users fill in the 5 why & because.
But as the field already has the why & because the native validator will not work as it will detect that there is already content on it, this is my predictement
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.