How to use jira issues macro from pocketquery template?

I'm trying to render the Jira issues macro from within a pocketquery template and I can't get it to load/render the issue data properly. I see the Jira macro column headers (grayed out) and a spinning prompt but the issue data is never rendered.  

#set ( $jql = "key in (POC-1234)" )

$PocketQuery.renderMacroByMarkup("<ac:structured-macro ac:name='jira'>
<ac:parameter ac:name='server'>JIRA</ac:parameter>
<ac:parameter ac:name='columns'>key,summary,type,created,assignee,reporter,priority,status,resolution</ac:parameter>
<ac:parameter ac:name='maximumIssues'>20</ac:parameter>
<ac:parameter ac:name='jqlQuery'>$jql</ac:parameter>
<ac:parameter ac:name='serverId'>xxxx</ac:parameter>

I also tried using the $PocketQuery.renderXhtml() with the same results. I've verified the Jira issue macro works when created through the editor, so it's not a connectivity problem. 

Thanks in advance!

1 answer

This widget could not be displayed.

Hey John,

sorry that you didn't receive an answer yet. We have basically moved our support to our service desk for PocketQuery.

Should this still be a problem for you, please don't hesitate to raise a ticket at our service desk.

Thank you for using PocketQuery!

Best regards,
Sven (Scandio)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

155 views 2 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you