How can I exclude the internal notes when printing or saving the ticket?

Return to top
Have more questions? Submit a request

7 Comments

  • Daniela Basualdo

    Hi Nicole

    I tried to print only the public comments by following your instructions but I didn't get the result I expected.

    All internal notes are still visible.

    What browser do you use?

     

    Thanks

    Daniela

     

    0
  • Nicole S. - Community Manager
    Zendesk Community Team

    Hi Daniela -

    I tested this using Chrome.

    0
  • Adrian Palmer

    Hi Nicole,

     

    I have tested these instructions numerous times and the ticket is still print both types of comments.

     

    Has this feature been disabled or is there a setting I need to change in settings?

    I am using chrome

    Version 78.0.3904.97 (Official Build) (64-bit)
     
    I have included a screenshot below

    Many Thanks

    Adrian.

     

    0
  • Devan - Community Manager
    Zendesk Community Team

    Hello Adrian Palmer,

    So this is working as intended; the only way you would be able to print in the way you are describing is by using your browser's print options after filtering out the undesired content. 

    Best regards. 

    0
  • Oliver Knigge

    Here is a nice workaround to exclude internal comments in a printer-friendly version of a ticket.

    Use the "Print ticket" option within a zendesk ticket. A printer friendly version (internal comments included) opens in a new browser tab. Now use chrome/firefox developer tools, to delete sections you do not want to have in your printed ticket (I use the "select item to inspect" option to find the sections in the source code which I want to delete). Using this tools you can also delete the custom fields from the head of the printed ticket.

    Once you have deleted all the sections (mostly <div></div> blocks), print the page using the print option from the browser. 

    That's it!

    0
  • Gerald Schwarz

    Hello, Support,

    I honestly can't understand why we as users should choose the workaround over the non-optimized view of the browser, when there is an optimized print view and one would only have to consider the respective selection of the GUI when generating the print version. The export is very weak and not comprehensible at this point.

    An annoyed customer

    3
  • Jeff Henderson

    I've written a little javascript bookmarklet that solves this problem:

    Create a new bookmark in your browser called "Hide Internal Comments (Zendesk)" and then paste the javascript below into the URL field.

    javascript:(function(){let comments = document.getElementsByClassName('internal_note');for (let x = 0; x < comments.length; x++) {let comment = comments[x].parentElement.parentElement;comment.style.display = 'none'}})();

    After you open a printer-friendly ticket, you can click on your new bookmarklet to hide all internal comments.

    2

Please sign in to leave a comment.

Powered by Zendesk