This site is moving soon to become part of an integrated Appfire documentation and information site for our apps. This site will remain available during the transition to our new and improved site. Once this site is moved over, this banner will be updated with the new site link for easy access.

Take a look here! If you have any questions please email support@appfire.com

A nested query with quotes doesn't work

Problem

You use quotes in your query and you get a parsing error.

Let’s say that you query with a field that contains a space in its name - you need to use the quotes:

"Epic Link"=ABC-1

This query works fine but it fails if you use it as a nested query in a JQL function:

issue in linkedIssuesOfQuery(""Epic Link"=ABC-1")

Error in the JQL Query: Expecting ')' or ',' but got 'Epic'. (line 1, character 32)

Solution

Make sure to use single quotes inside the nested queries.

For example: issue in linkedIssuesOfQuery("'Epic Link'=ABC-1")