Forums

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

"Jira expression failed to parse: line 1, column 32:\nexpression expected, reserved keyword 'let' en

Vladimir Virlan
Contributor
September 14, 2021

Hi, 

I am getting this error in a script that uses the keyword `let`.

 

"Jira expression failed to parse: line 1, column 32:\nexpression expected, reserved keyword 'let' encountered."

 

Example:

let a = 10;

let b = 20;

 

If you use the Test button functionality form within ScriptListener tab, it works fine. But if you save the script and try to trigger the script by doing some transitions, this fails.

 

According to this: 

https://developer.atlassian.com/cloud/jira/platform/jira-expressions/#variable-assignment

Using `let` variables should be allowed.

 

Please help

thanks

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
John Coloccia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2021

Did you ever figure this out or get a response?

TAGS
AUG Leaders

Atlassian Community Events