At this time JQL Functions are not a support extension point for connect apps and with the push for Forge I don’t expect that JQL functions will come to connect any time soon or even at all.
I found only 1 sample for the Forge app but not the Connect App
That let me to make the assumption that only Forge was supports, I completely misted the connect links.
However looking at the docs it seems that all the function needs to do is generate a bit of JQL based on the input, looking at this page the output should be a simple issues in (..) or id in (...) JQL query. The operation can be in or not in as far as I can make out, so in the arguments given to the function use not in then the query generated would be something like issues not in (...)
I also thought so, I tried adding this module to a connect app and installing it. But Jira’s search section does not recognize the JQL function I added in the module. So I need a more detailed document
more detailed example of subtaskOf implementation in Forge: Bitbucket
After successfully installing the app, the function should be available in JQL search (together with autocomplete and validation features). Also, please try to use New Issue Navigator for better UX.
It’s hard to try to use JQL functions without a specific sample for Connect App and just look at the poor documentation available
Feel free to contact me within this thread if the documentation is unclear or something doesn’t work as expected.