I try to use this query and it compains that there is no hasLinkType function or I don't have permission to use it.
issuetype=Epic and issueFunction not in hasLinkType("Epic-Story Link")
If you are on Cloud, you need to activate issueFunction first. You can read more here:
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_getting_started
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.