Forums

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

How to use jira issues macro from pocketquery template?

John Karakashian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 8, 2017

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

0 votes
Sven Schatter _Lively Apps_
Atlassian Partner
December 11, 2017

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
TAGS
AUG Leaders

Atlassian Community Events