Forums

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

SIL Validators not working on Edit Issue

Gopi March 6, 2018

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.

1 answer

0 votes
Wouter Bruinings
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 29, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events