Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,203
Community Members
 
Community Events
165
Community Groups

Print/export issue to PDF (via CTRL-P) gives only 1 page

Edited

Hello,

We upgraded to Jira v7.11 this weekend and now we see that printing (via CTRL-P) an issue to PDF gives only one page of the issue, not all pages. And next to that, only the "comments" tab is added in the printlayout, not the other tabs like "all", "activity", "history", etc. Is this a setting that we missed or what's going on? In our previous version CTRL-P gave all pages printed to PDF. We need the functionality to print/export issues to PDF quite urgently, so upfront already thanks a lot for the help. 

Screenprint tabs.JPG

4 answers

1 accepted

1 vote
Answer accepted
Andy Heinzer Atlassian Team Oct 29, 2018

Hi Sandra,

I believe this is a known issue.  Please see the bug report in https://jira.atlassian.com/browse/JRASERVER-62377

There do appear to be a few different work-arounds here that might help.  From that bug ticket:

Workaround

There are workarounds:

  1. Use Printable option at Export button instead of using the right-click option.
  2. Append ?filter=-1 to the URL removes the sidebar and allow printing all the pages.
  3. Thanks to Zachary from the comments below, you can add this Javascript on the Announcement Banner:
    <style type="text/css">
    @media print {
    .issue-view
    
    { overflow-y: visible !important; }
    }
    </style>
    

Any one of these methods could be used to get past this problem for the time being.   I would recommend watching that bug ticket for updates as well.

I hope this helps.

Andy

Hello Andrew,

Thank you for your quick response and tips.

Your option 1 doesn't do the trick unfortunately. Next to only printing 1 page, also the content of the different tabs, like "activity" and "all" is not printed, only the content of the "comments" tab. We really need the complete content of the "all" tab in the PDF. 

Do I understand your option 2 correct by adding "?filter=-1" to the URL of my issue? And then via CTRL-P all pages are viewed and printed in PDF? It seems to work! 

We use the announcement banner to give a message to all users of our Jira. Can we combine the coding you give at your option 3 with our textmessage?

Andy Heinzer Atlassian Team Oct 30, 2018

Yes, you can just add that style tag to your announcement banner in order to make that html code appear on every page in Jira.   This would also be for all users, so I would agree it seems like the best work-around for the time being.

Thank you Andrew, for your quick and clear response. I'm checking with technical colleagues to incorporate the announcement banner option in our Jira. 

Hi Andrew, I'm going to use the Announcement Banner option, easier for my users. Can I add a line of comment to that piece of coding you gave me? Then my other admin colleagues also know what the coding was for . Thanks!

Andy Heinzer Atlassian Team Oct 31, 2018

Yes, that's a very good idea.   You could do something like this:

<!-- This is to work-around a printing bug JRASERVER-62377  -->
<style type="text/css">
@media print {
.issue-view

{ overflow-y: visible !important; }
}
</style>

End users won't see this code or message, but it will something Jira admins can see in the edit announcement banner section.

1 vote

@Sandra Meessen

If you need to export issues from Jira frequently, you could give our app, Better PDF Exporter for Jira a try! It a more stable, professional and highly customizable way of creating PDF documents from any Jira (or third-party app) data.

Take a look on the Marketplace >>

Though this is an older thread, none of these solutions work currently for me in Jira Cloud.

I did find this Chrome extension works if you scroll all the way to the bottom of your issue before asking it to print (it seems to miss the bottom if you don't scroll all the way). It is working well enough that I can capture a project set up with multiple link fields that are needed for an official record.

GoFullPage

https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl/related

 

I am not affiliated with the app, I just found it and thought I'd pass it along.

Since you cannot edit the announcement banner in Jira Cloud, how do us Cloud users resolve this problem?

Andy Heinzer Atlassian Team Oct 15, 2019

Hi Justin,

This particular issue only applies to Jira Server.  We do not have a corresponding bug report for Jira Cloud for this specific root cause to the best of my knowledge. If you are seeing this happen on a Jira Cloud site, then we would want you file a support request on this over in https://support.atlassian.com/contact/

This way our Cloud support team can work with you to identify the source here.  Support could create a new bug report if need be, but depending on the specific location within Jira Cloud there might be some other steps that could be taken to address this problem.

Andy

The Javascript workaround described above is required to print the entire issue in Jira Cloud as of February 2021. However, since you cannot inject the CSS into the banner, you have to use your browser's developer tools to inject the CSS on each individual issue, after the issue page is fully loaded. This process is a hassle, but it's the only option if you don't have the admin privileges to install a plugin.

In Chrome, open Developer Tools and use the inspector-stylesheet to inject the CSS (without the HTML script tags):

@media print {
.issue-view

{ overflow-y: visible !important; }
}

Here is more info about how to do that in Chrome: https://stackoverflow.com/questions/49586990/fastest-way-to-add-a-new-blank-stylesheet-in-chromes-inspector-developer-tool

Local overrides should, in theory, allow the style to persist across page loads, but that hasn't worked for me.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you