JQL function for connect app

I see that Atlassian has just provided a new feature, the JQL function for the forge and connect app. But I read through the docs and only see references to forge.
https://developer.atlassian.com/cloud/jira/platform/changelog/#CHANGE-1182

https://developer.atlassian.com/cloud/jira/platform/modules/jql-functions/
Does anyone have experience or know any documents about JQL function implementation for Connect app?

Hi @HungTran

Welcome to the community.

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.

But maybe someone from Atlassian can chime in.

Cheers,
Mark

JQL function support is available in Connect… the link that @HungTran provided (https://developer.atlassian.com/cloud/jira/platform/modules/jql-functions/) is the Connect documentation

2 Likes

I stand corrected @jbevan

@jbevan @markrekveld
Thank you for your feedback. According to the documentation provided, I found only 1 sample for the Forge app but not the Connect App:
https://bitbucket.org/atlassian/forge-jql-function-subtaskof/src/master/
It’s hard to try to use JQL functions without a specific sample for Connect App and just look at the poor documentation available

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

does not recognize the JQL function I added in the module

Is it not recognised for autocomplete or for execution also?

That’s right

Hi @HungTran, @markrekveld,

Currently, the documentation for JQL functions is split into three parts:

We also have simple example apps for Forge and Connect available here:

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.

Best regards,
Łukasz

4 Likes

Thanks @ljarzabek for the examples, this nicely completes the picture!

2 posts were split to a new topic: Can precomputation be suspended for a JQL function?