ScriptRunner throwing NoViableAltException

Abhi Vaishnav
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.
August 21, 2014

Hi,

I am running a JQL from the JIRA UI and am getting the NoViableAltException. No idea what it means or why it is being thrown. Anybody seen this before?

2 answers

1 accepted

8 votes
Answer accepted
JamieA
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.
August 21, 2014

"project = 'Prod XYZ'"

use single quotes around the project name if it has spaces

Joshua Jacobson November 29, 2017

Thank you Jamie!

0 votes
Abhi Vaishnav
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.
August 24, 2014

The single quotes fixed it. Thanks Jamie

Suggest an answer

Log in or Sign up to answer