# \#jql-function

**URL:** https://community.developer.atlassian.com/tag/jql-function/1426.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [Can we display custom error in JQLfunction modules](https://community.developer.atlassian.com/t/can-we-display-custom-error-in-jqlfunction-modules/96075)

<div class="topic-metadata">

**Author:** [@AbhishekJoshi](https://community.developer.atlassian.com/u/AbhishekJoshi)\
**Replies:** 4\
**Last updated:** [October 14, 2025, 1:13am UTC](https://community.developer.atlassian.com/t/can-we-display-custom-error-in-jqlfunction-modules/96075 "2025-10-14T01:13:05Z")

</div>

I’m building a Forge app with a custom JQL function module, and I’d like to show custom error messages when a user enters invalid input or when my resolver logic fails validation. For example: If the user writes a quer…

---

## [How should we handle JQL function precomputations in Forge apps?](https://community.developer.atlassian.com/t/how-should-we-handle-jql-function-precomputations-in-forge-apps/95745)

<div class="topic-metadata">

**Author:** [@AbhishekJoshi](https://community.developer.atlassian.com/u/AbhishekJoshi)\
**Replies:** 0\
**Last updated:** [September 30, 2025, 10:39am UTC](https://community.developer.atlassian.com/t/how-should-we-handle-jql-function-precomputations-in-forge-apps/95745 "2025-09-30T10:39:46Z")

</div>

I’m building a Forge app that provides a custom JQL function. I’ve read the documentation about precomputations, where Jira evaluates a custom function once, stores the result as a JQL string mapping, and reuses it until…

---

## [Questions on Custom JQL Precomputation in Forge](https://community.developer.atlassian.com/t/questions-on-custom-jql-precomputation-in-forge/95421)

<div class="topic-metadata">

**Author:** [@Meriztiryaki](https://community.developer.atlassian.com/u/Meriztiryaki)\
**Replies:** 0\
**Last updated:** [September 17, 2025, 1:21pm UTC](https://community.developer.atlassian.com/t/questions-on-custom-jql-precomputation-in-forge/95421 "2025-09-17T13:21:16Z")

</div>

Hello everyone, I am currently developing a Jira plugin using Forge that provides a custom JQL function to enhance user experience. This is a “runs on Atlassian” app, where the JQL function is evaluated by triggering a …

---

## [How can I invoke my connect backend from JQL function module?](https://community.developer.atlassian.com/t/how-can-i-invoke-my-connect-backend-from-jql-function-module/80543)

<div class="topic-metadata">

**Author:** [@AbdulbakiFurkanTanrv](https://community.developer.atlassian.com/u/AbdulbakiFurkanTanrv)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 9:34am UTC](https://community.developer.atlassian.com/t/how-can-i-invoke-my-connect-backend-from-jql-function-module/80543 "2025-03-11T09:34:12Z")

</div>

Hello there, I have a jql function module. I want to be able to invoke my remote backend. Since there is no resolver: endpoint: connect-endpoint resolver property for jira:jqlFunction, I cannot use invokeRemote or i…

---

## [Getting UI Kit 1 deprecation warning for JQL Function and Workflow Validator modules](https://community.developer.atlassian.com/t/getting-ui-kit-1-deprecation-warning-for-jql-function-and-workflow-validator-modules/88280)

<div class="topic-metadata">

**Author:** [@DeonPetrusMeyer](https://community.developer.atlassian.com/u/DeonPetrusMeyer)\
**Replies:** 2\
**Last updated:** [January 30, 2025, 10:19pm UTC](https://community.developer.atlassian.com/t/getting-ui-kit-1-deprecation-warning-for-jql-function-and-workflow-validator-modules/88280 "2025-01-30T22:19:56Z")

</div>

Hi all I’m using the Forge CLI version 10.9.2. I noticed after upgrading to that version today that the deploy command now includes a warning if your app contains any UI Kit 1 components. My understanding is that UI K…

---

## [Custom jql functions](https://community.developer.atlassian.com/t/custom-jql-functions/86281)

<div class="topic-metadata">

**Author:** [@Ankitkharola](https://community.developer.atlassian.com/u/Ankitkharola)\
**Replies:** 6\
**Last updated:** [November 25, 2024, 7:27am UTC](https://community.developer.atlassian.com/t/custom-jql-functions/86281 "2024-11-25T07:27:47Z")

</div>

how can we create a custom jql function where we can take two arguments? i have updated the arguments fields in my manifest as follows - key: commentedByUser-function name: "commentedByUser" arguments: …

---

## [JQL function for connect app](https://community.developer.atlassian.com/t/jql-function-for-connect-app/73445)

<div class="topic-metadata">

**Author:** [@HungTran](https://community.developer.atlassian.com/u/HungTran)\
**Replies:** 12\
**Last updated:** [July 29, 2024, 7:02am UTC](https://community.developer.atlassian.com/t/jql-function-for-connect-app/73445 "2024-07-29T07:02:53Z")

</div>

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/cha…

---

## [Bug: Precomputation Cache has multiple entries when switching environment](https://community.developer.atlassian.com/t/bug-precomputation-cache-has-multiple-entries-when-switching-environment/81574)

<div class="topic-metadata">

**Author:** [@vsaran](https://community.developer.atlassian.com/u/vsaran)\
**Replies:** 3\
**Last updated:** [July 19, 2024, 7:28am UTC](https://community.developer.atlassian.com/t/bug-precomputation-cache-has-multiple-entries-when-switching-environment/81574 "2024-07-19T07:28:38Z")

</div>

Hey folks, I’m writing a plugin function for JQL. I have been using the subtaskOf example that is around. I got it working in my dev environment, so then I installed it as staging on the proper work jira instance. How…

---

## [How to automatically retrieve project id or key in custom JQL function for versions](https://community.developer.atlassian.com/t/how-to-automatically-retrieve-project-id-or-key-in-custom-jql-function-for-versions/81502)

<div class="topic-metadata">

**Author:** [@FaikBurakTredi](https://community.developer.atlassian.com/u/FaikBurakTredi)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 6:58am UTC](https://community.developer.atlassian.com/t/how-to-automatically-retrieve-project-id-or-key-in-custom-jql-function-for-versions/81502 "2024-07-03T06:58:46Z")

</div>

Hi everyone, I’m reaching out to seek some support regarding an issue we’re facing with our custom JQL function. We’re trying to find a way to retrieve the project ID or key automatically when the custom JQL function is…

---

## [Creating a Custom JQL Function Without Precomputation](https://community.developer.atlassian.com/t/creating-a-custom-jql-function-without-precomputation/81126)

<div class="topic-metadata">

**Author:** [@OdinSon](https://community.developer.atlassian.com/u/OdinSon)\
**Replies:** 2\
**Last updated:** [June 25, 2024, 7:33am UTC](https://community.developer.atlassian.com/t/creating-a-custom-jql-function-without-precomputation/81126 "2024-06-25T07:33:08Z")

</div>

Hello Atlassian Community, I’ve been working with the JQL functions module and understand that it optimizes custom JQL function calls by evaluating them once and storing the results (precomputations) in the database. Wh…

---

## [JQL Custom Function limitations in Connect app](https://community.developer.atlassian.com/t/jql-custom-function-limitations-in-connect-app/80632)

<div class="topic-metadata">

**Author:** [@JooPedroCoimbraMarti](https://community.developer.atlassian.com/u/JooPedroCoimbraMarti)\
**Replies:** 1\
**Last updated:** [June 10, 2024, 5:54am UTC](https://community.developer.atlassian.com/t/jql-custom-function-limitations-in-connect-app/80632 "2024-06-10T05:54:44Z")

</div>

We are currently developing JQL functions for our Connect app, however due to the nature of its data (highly dynamic and constantly changing) we have some concerns: Is there any way to shorten the 7 days evaluation int…

---

## [Error handling in Forge JQL functions](https://community.developer.atlassian.com/t/error-handling-in-forge-jql-functions/75427)

<div class="topic-metadata">

**Author:** [@PeterVelosy](https://community.developer.atlassian.com/u/PeterVelosy)\
**Replies:** 3\
**Last updated:** [March 19, 2024, 1:36pm UTC](https://community.developer.atlassian.com/t/error-handling-in-forge-jql-functions/75427 "2024-03-19T13:36:00Z")

</div>

Dear Community, Unfortunately, when returning an error using the JSON object format {error: "ErrorMessage"} from a Forge JQL function, the provided error message does not get displayed on the Jira GUI. Instead, the gene…

---

## [Empty result set from JQL function invocation](https://community.developer.atlassian.com/t/empty-result-set-from-jql-function-invocation/78257)

<div class="topic-metadata">

**Author:** [@Corentin](https://community.developer.atlassian.com/u/Corentin)\
**Replies:** 3\
**Last updated:** [March 15, 2024, 12:35pm UTC](https://community.developer.atlassian.com/t/empty-result-set-from-jql-function-invocation/78257 "2024-03-15T12:35:18Z")

</div>

Hi folks, and @ljarzabek , I couldn’t find anywhere in the documentation, but how can we specify that no issue match the user query? For instance, in the following query: project = "projectKey" AND issue in myFunction…

---

## [JQL Functions for connect](https://community.developer.atlassian.com/t/jql-functions-for-connect/77204)

<div class="topic-metadata">

**Author:** [@JasminBateman](https://community.developer.atlassian.com/u/JasminBateman)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 12:13pm UTC](https://community.developer.atlassian.com/t/jql-functions-for-connect/77204 "2024-02-14T12:13:09Z")

</div>

When the precomputation is sent to an app to evaluate a custom function, will the clientKey or accountId also be provided? The docs refer to the precomputationId in the input but does not refer to anything that would ide…

---

## [Get precomputations (apps) API](https://community.developer.atlassian.com/t/get-precomputations-apps-api/75958)

<div class="topic-metadata">

**Author:** [@Floating-electron](https://community.developer.atlassian.com/u/Floating-electron)\
**Replies:** 3\
**Last updated:** [January 9, 2024, 8:47am UTC](https://community.developer.atlassian.com/t/get-precomputations-apps-api/75958 "2024-01-09T08:47:25Z")

</div>

Is it possible to get precomputation by ID? According to docs no, is there a plan to make it possible? Functions we have in mind depend on parameters, therefore we need to keep track of specific precomputations that nee…

---

## [Getting the current user in a Forge JQL function](https://community.developer.atlassian.com/t/getting-the-current-user-in-a-forge-jql-function/75350)

<div class="topic-metadata">

**Author:** [@PeterVelosy](https://community.developer.atlassian.com/u/PeterVelosy)\
**Replies:** 3\
**Last updated:** [December 11, 2023, 3:25pm UTC](https://community.developer.atlassian.com/t/getting-the-current-user-in-a-forge-jql-function/75350 "2023-12-11T15:25:59Z")

</div>

Dear Community, It seems to me that it is only possible to request the Jira API from a JQL function with asApp(), not with asUser() (the latter results in an HTTP 401). This means that I cannot use /rest/api/3/myself fo…

---

## [Forge jql function documentation](https://community.developer.atlassian.com/t/forge-jql-function-documentation/74870)

<div class="topic-metadata">

**Author:** [@GeneC](https://community.developer.atlassian.com/u/GeneC)\
**Replies:** 9\
**Last updated:** [November 28, 2023, 2:11pm UTC](https://community.developer.atlassian.com/t/forge-jql-function-documentation/74870 "2023-11-28T14:11:32Z")

</div>

I’m looking into building a jql function but can’t find enough docs… will someone please point me in the right direction? I see this… https://developer.atlassian.com/cloud/jira/platform/forge/ and https://developer.atlas…

---

## [User context in custom JQL function precomputations, higher limit](https://community.developer.atlassian.com/t/user-context-in-custom-jql-function-precomputations-higher-limit/74488)

<div class="topic-metadata">

**Author:** [@sank](https://community.developer.atlassian.com/u/sank)\
**Replies:** 7\
**Last updated:** [November 20, 2023, 9:42am UTC](https://community.developer.atlassian.com/t/user-context-in-custom-jql-function-precomputations-higher-limit/74488 "2023-11-20T09:42:38Z")

</div>

We would like to use the recently added JQL custom functions feature. However, we have 2 concerns: It looks like the architecture precomputations does not account for different user IDs. In our case (I’m working in Str…

---

## [Can precomputation be suspended for a JQL function?](https://community.developer.atlassian.com/t/can-precomputation-be-suspended-for-a-jql-function/73856)

<div class="topic-metadata">

**Author:** [@MehmetMum](https://community.developer.atlassian.com/u/MehmetMum)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 1:24pm UTC](https://community.developer.atlassian.com/t/can-precomputation-be-suspended-for-a-jql-function/73856 "2023-10-17T13:24:36Z")

</div>

Hi @ljarzabek, We are currently working on a JQL function that is groupsOfCurrentUser(). This function takes current user and return his/her groups. Thus we are using current user, we need to invoke function to calculat…
