Forums

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

ConfiForms -- Jira Query with Dynamic Filtering

Florian Seibold
Contributor
July 12, 2022 edited

Hi together,

I´m currently trying to create a Form with ConfiForms where I use the Database entries additionally to use the Jira Macro for Confluence.
My Problem is: When loading the Page for the first time everything works fine. When I Apply a Filter the Jira macro seems to be "stuck". It is loading forever.
As a Example i would suggest to have something similar to this:

https://community.atlassian.com/t5/Confluence-questions/How-to-use-ConfiForms-to-create-a-JQL-query-amp-display-the/qaq-p/1202865

<ac:structured-macro ac:macro-id="d176be2f-a2a0-462b-a31e-fdf2cb28563d" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="4bbe175d-0201-4ca0-8b16-08b7b2970b19" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="e4d37510-f596-4ef1-a9b8-f549f4c01900" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">jql</ac:parameter>
<ac:parameter ac:name="fieldLabel">JQL</ac:parameter>
<ac:parameter ac:name="extras">Atlassian JIRA</ac:parameter>
<ac:parameter ac:name="type">jql</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
<p>
<br/>
</p>
<ac:structured-macro ac:macro-id="942cea8e-d7c9-457b-953f-0a352881c001" ac:name="confiform-list" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>JQL results count: <ac:structured-macro ac:macro-id="8bb209ab-01e9-4c04-89b8-46453e6277fb" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">jql</ac:parameter>
</ac:structured-macro>
</p>
<h2>
<ac:structured-macro ac:macro-id="17ecc6b0-d762-4b88-8cee-4f8cfb44e79c" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">jql.jql</ac:parameter>
</ac:structured-macro>
</h2>
<p>
<ac:structured-macro ac:macro-id="dfd37966-7914-4cff-a36a-7856b833e1fb" ac:name="jira" ac:schema-version="1">
<ac:parameter ac:name="server">Atlassian JIRA</ac:parameter>
<ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter>
<ac:parameter ac:name="jqlQuery">[entry.jql.jql]</ac:parameter>
<ac:parameter ac:name="serverId">144880e9-a353-312f-9412-ed028e8166fa</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>

If I add a DynamicFilter Control to the Example the Jira Query does work for the first loading of the page but as soon as I hit the Filter button it won´t work anymore.

<ac:structured-macro ac:macro-id="7d39fea4-f903-4722-8f32-f7ec0e111a10" ac:name="confiform-entry-filter" ac:schema-version="1">
<ac:parameter ac:name="filterFor">list</ac:parameter>
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="65f967fd-ec72-49c1-a6b1-541c01c94031" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">jql</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>

 2022-07-12_15-30-49.png 2022-07-12_15-37-35.png

 

Thanks a lot for your Support in Advance.
PS: Is there a solution to use the Filtered Data outside the List-/ Table- Whatever View?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events