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>
</ac:structured-macro>") 

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

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
Published Tuesday in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

206 views 2 10
Read article

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