Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to include the comments on a page when exporting to a pdf?

This question is in reference to Atlassian Documentation: Exporting Content to Word, PDF, HTML and XML

Is it possible to include page comments when exporting to PDF?

I have found the way to include the comments when exporting to HTML, however, then the commenters name does not appear, but instead the user ID. For our purposes, this is not useful.

Is there a certain script which can be used in customizing the PDF stylesheet which include the comments?

6 answers

I created a user macro which includes the comments into the page body to be printed and exported as PDF.
See here:

Hi, I tried that and seems not working. On generating to pdf a portion of the script appear on the first page followed by space. 

Hi @Stefan Baader , I wonder if you could provide a little more info on how to use your macro? It's a new process for me. Thanks

0 votes

Hi Rachel,  sorry Confluence does not export comments to PDF.  

Although you can customise the PDF export layout and stylesheet (see Customise Exports to PDF), I'm not sure you would be able to make it include the comments, as it is not processed as part of the export. Hopefully someone else from the community will chime in if they have discovered a way to do this. 

There is an add-on from K15t that extends Confluence's PDF export capabilities, but I'm not sure whether it has an option to include comments.

As a workaround, export the word file, then copy/paste the comments from the Wiki page into the word document. You get a bit of junk, like images and reply/delete/like links but its fine for occasional exports of stable documents.

Hi Rachel, how did you manage to include the comments exporting to HTML? 

I am also stuck in exporting comments. Any format, any help is welcome!


0 votes

Confluence PDF export will not export comments. There's a feature request for this if you're interested:

Thx Monique, I voted and additionally added my workaround for those who can't wait until Atlassian moves.

I just tried to print the page with comments on it locally, and instead of printing, choose the option to Save to PDF and wahlah! You know have a PDF of your page with everything on it.  Doesn't come out too messy either

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

547 views 18 17
Read article

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