For our planning assessment we are using automation scripts to calculate the total number of story points in a given epic as part of a project. This works fine for some of the Epics however since there is a limit then we cannot have it working for all epics in the project. Any idea what we can do to increase the limit - or are there other solutions to calculate total amount of story points in an Epic if not by the Lookup function?
My automation looks like this:

I am getting this error message:
A search during custom value definition found no issues.
There was an error executing a search during custom value definition: .
Custom Smart Value JQL Search: "(issuetype in (task) and "Epic Link" = "") AND (project in (10022))" - No issues have a parent epic with key or name ''
i also fails in the lookup JQL if i leave out the "Assigned area" in (SW) criteria...
similar discussions in this thread: Solved: How do you sum up story points to the epic using j... (atlassian.com)