Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to pass javascript output to jira issue filter macro jql

Mundada Rithik
August 28, 2024

I am using 2 dropdowns to filter the jql issue filter macro table and i am constructing jql query using javascript from dropdown values i am able to get the output of jql query 

But i want to pass the jql query to jira issue macro table in javascript itself to filter automatically based on dropdown

1 answer

0 votes
Mercy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 10, 2025

The Jira Issues macro in Confluence Data Center doesn’t support dynamically injecting JQL from client-side JavaScript for security and caching reasons. The macro’s JQL is resolved on the server when the page is rendered, so changing it after load won’t re-query Jira. The only supported way to update results is to edit the macro configuration or reload the page with a new JQL parameter. This behavior is documented in Atlassian’s guidance on the Jira Issues macro, which notes that JQL queries are executed on render, not dynamically refreshed.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events