Hi!
I'm trying to create a new filter in jira with the help of a Script Runner built in script called parentOf().
The problem i'm faceing is that my project name has a space-character in it.
issueFunction in parentsOf("project = My Project and status = Open")
And this returns: NoViableAltException(34@[584:1: operand returns [Operand operand] : ( EMPTY | str= string | number= numberString | fn= func | l= list );])
I know that you can specify a custom field like cf[10001] for example. Can one specify a project in a similar fashion? Or like in PHP with single and bouble quotes 'project = "My Project"'? Or I'm i screwed? 
Can anyone point me in the right direction?
Best regards
Joachim Westlund