Forums

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

formatting the confluence Jira query

Toby Moore
Contributor
February 21, 2018

Hey all,

So we use confluence for reporting on jira issues using the macro. But when no issues are found (which we want to show) and we export to PDF the query goes really small, I would really love for formatting purposes if there was a way to make this have a fixed width like you can with tables.

Does anybody know of anything like this?

Screen Shot 2018-02-21 at 15.36.57.png

 

1 answer

0 votes
Sharon Metzger
Contributor
February 21, 2018

I'm thinking it's in your PDF template. Are you using Scroll PDF, or the native Confluence PDF? We have Scroll PDF Exporter, and I have a Jira query that's currently "no issues found". When I use the built-in "Documentation" PDF template, the table width is full-page-width, and when I use one of our own templates, the same table is minimum width. 

Toby Moore
Contributor
February 22, 2018

Hey, thanks for the response. We just use the normal PDF exporter that comes with JIRA (I think?). The query is full width when viewing it in confluence but drops down to a small as it can when exported!

Screen Shot 2018-02-22 at 09.13.29.png

Sharon Metzger
Contributor
February 22, 2018

When I use the regular PDF export, I also get full-page-width tables. Do you have a custom stylesheet for your PDF export? (Space tools > Look and Feel > PDF stylesheet) You can add some CSS to manage the table width. 

I inherited most of my CSS, and I can't tell without experimenting which of these bits affects the Jira macro, but to get you started, my guess is you want to add something like this:

table.sectionMacro>tbody>tr>td
{
width: 100%
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events