The following query:
issueFunction in issuesInEpics("issueFunction in linkedIssuesOf(\"issue in (CO-4)\",'Parent Collection Of')")
Returns the error: Error in the JQL Query: Expecting either 'OR' or 'AND' but got '"'. (line 1, character 18)
I have access to a server version of Jira with Scriptrunner and this same format does resolve correctly to give results.
If I remove the \ characters, giving me:
issueFunction in issuesInEpics("issueFunction in linkedIssuesOf("issue in (CO-4)",'Parent Collection Of')")
The error changes to: Failed to get issues in epic