I have a Forge app (jira:jqlFunction module, static declaration, endpoint/remote-backed) with 61 registered custom JQL functions. All 61 correctly appear in GET /rest/api/3/jql/autocompletedata (visibleFunctionNames) and in the issue navigator’s own autocomplete-as-you-type suggestions. But using any of them — including the very first and simplest one, a pure scalar function with no external calls — in an actual JQL query fails immediately with:
JQL error
Unknown function: jqlx.hasComments
We can't suggest a fix for this query yet.
This is not a partial/some-functions-work issue: every function I’ve tried, from the simplest (jqlx.startOfQuarter(), zero REST calls) to the most complex, fails identically. No search has ever returned real results from any of these functions.