How to display plain text from certain queries

I have a few queries that I cannot get to display correctly in plain text.

My query is: SELECT SUBSTR(pp_patch, 8) as " " from pp_version

It should return 2015.1.4.0, but it is returning: { =2015.1.4.0}

When I query it in the a sql tool, I get it correctly. 

I have a template that looks like this, which does remove some extra [] brackets and takes away the table formatting.

#foreach ($row in $result)


How can I fix this?

1 answer

1 accepted

This widget could not be displayed.

Hi Philipp,

Thank you for your interest in PocketQuery! You should be able to achieve what you want using the template parameter plain. Check out the section "Template configuration parameters" in the PocketQuery documentation. I also prepared an example for you...


FROM Country
WHERE Name = :Name


## @param plain:true
<h3>First row:</h3>
<h3>All rows:</h3>
#foreach($row in $result)

Let me know if this helps!

Regards, Felix (Scandio)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 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...

569 views 7 6
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