Hi
I have added SIL validators in create transition of the issue and working properly during the creation of the issue.
But when I start editing the issue the validations are not working.So I have tried Live Fields as well but its not validating the fields during edit screen.
Can anyone help me out with some examples.
Validators run only on transitions.
Live fields can help, but they are only a check on the front end. Users could get around the live fields by editing the ticket using the rest api.
We use something like this every now and then:
if
(argv[
"screen"
] ==
"edit"
) {
//pseudo code
if(field_x == null){showMessage();
}
else{
hideMessage();
}
}
You do need to configure this on a main and hook script, triggering on some javascript event, otherwise the script will run once and not update. More info on that here: https://confluence.cprime.io/display/JJUPIN/lfWatch
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.