Forums

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

popup window customscript validator

Olivera Tancheva January 21, 2019

Hello,

I have a customscript validator which doesn't execute on popup "Create issue" but only on a big window!

Do you know what the problem might be?

 

I have an error message as follows in my validator:

if(project && project.getName() == "Business Trips"){

throw new InvalidInputException("Please select a corresponding Project")

}

Can I add another Exception so the script will execute in a popup window as well?

 

Regards, 

 

Olivera

1 answer

0 votes
Nic Brough -Adaptavist-
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.
January 21, 2019

I suspect your validator is running, but not doing the "if".  Have you tried putting messages into it to see what variables it is running with?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events