How do I use a ConfiForms Result as Input for A Jira JQL Query with ConfiDocs

Florian Seibold
Contributor
December 14, 2022

Hi, I´m trying to feed a ConfiDocs Table input (Jira JQL) with a selection I make on a ConfiDocs Filter. Could anybody help me? I do not understand how this works.

Thanks a lot in advance for your Help!

Florian

 

<ac:structured-macro ac:macro-id="71acc7ba-578a-4cf0-a8fd-50b4225c1fc6" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="2951c81e-8adb-4162-8ea0-b62b6e478a10" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">count</ac:parameter>
<ac:parameter ac:name="fieldLabel">Number</ac:parameter>
<ac:parameter ac:name="type">number</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="0db88311-2906-4371-8221-16815d1391b0" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">searchtag</ac:parameter>
<ac:parameter ac:name="fieldLabel">SearchTag /JQL</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="76a221b3-7e46-408c-a153-733dd8b39d4b" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="5d4444ff-ee17-4ae6-a07d-983774ea0102" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="eaf272ca-e3ec-41c6-909d-f3850c4e2215" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">count</ac:parameter>
<ac:parameter ac:name="fieldLabel">Number</ac:parameter>
<ac:parameter ac:name="type">number</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="e04551b9-0792-41ba-8227-8c0e05ff385a" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">searchtag</ac:parameter>
<ac:parameter ac:name="fieldLabel">SearchTag /JQL</ac:parameter>
<ac:parameter ac:name="type">text</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="84f8d9d1-3356-4d1a-aaa6-44d97a2c8a2f" ac:name="confiform-entry-filter" ac:schema-version="1">
<ac:parameter ac:name="filterId">ff</ac:parameter>
<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="b85e047c-f635-4d58-8145-761520807f1b" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">count</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="36dfe34e-613e-4b87-8f89-cbcb7ed44793" ac:name="confiform-list" ac:schema-version="1">
<ac:parameter ac:name="filter">ff</ac:parameter>
<ac:parameter ac:name="formName">f</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="3d2461aa-c042-4a5d-895a-a87fd76c092d" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">count</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="f6c1a89b-98fd-4a28-bede-9dda96d305a6" ac:name="confiform-field" ac:schema-version="1">
<ac:parameter ac:name="fieldName">searchtag</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="701478b3-263e-40d5-af0c-2d8e7b8a17a7" ac:name="confidoc-table" ac:schema-version="1">
<ac:parameter ac:name="root">issues</ac:parameter>
<ac:parameter ac:name="values">[JQL]entry.searchtag.urlencode;</ac:parameter>
<ac:parameter ac:name="serviceId">c06872bae1a85ceded5719f1770805a6</ac:parameter>
<ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="3cd10dd3-f743-44fa-b829-f7719e3b8071" ac:name="confidoc-field" ac:schema-version="1">
<ac:parameter ac:name="name">key</ac:parameter>
<ac:parameter ac:name="label">Key</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
<p>
<br/>
</p>

image.png image.png

3 answers

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2022

Hi

You need to put ConfiDoc TableView macro inside the ConfiForms ListView macro

And for the parameter (ConfiDoc TableView) to put something like

[entry.searchtag.urlencode]

Alex

0 votes
Florian Seibold
Contributor
December 14, 2022

I love it!

Thanks a lot again for your support :D

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 14, 2022

You are very welcome

0 votes
Florian Seibold
Contributor
December 14, 2022

I do not really know whats the Proplem or how to solve it. The Error Message is often:

 

image.png

 

Thanks a lot for your help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events