Exception while executing SIL program >>null<<: [SIL Error on line: 7, column: 4] Script is not runn

MVR July 8, 2020

7th line isinclude "Includes/logger.incl";
//Logger Levels 4=> None, 3=> Info, 2 => Error, 1=> Critical
setLoggingLevel(3);
setLogFile("issueSecurityUpdate");

string[] validProjects = {"FUL","CS","ISC", "ENT"};
if(contains(validProjects, project)) { return; }            

last line is 7th line,can you help me out

1 answer

1 accepted

1 vote
Answer accepted
Alexey Matveev
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.
July 8, 2020

Hello!

I believe that the project variable is null in your script. How do you run your script? If you run your script from the SIL manager then you should set the context for the script. You can do it by pushing the Run Configuration button and set an issue key in the Context field:

Screenshot 2020-07-08 at 19.15.50.png

MVR July 10, 2020

Thanks a lot

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events