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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,770 views 26 10
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