How do I delete many (or all) Comments on a Confluence Page?

We have several very long discussions on a Confluence Page, that we want to have deleted, after the things are finailzed. Is tehre a comfortable way to do this?

4 answers

1 vote


You could use the Power Scripts for Confluence add-on:

I've found Power Scripts for Confluence really handy for Confluence admins who want to automate their work and apply bulk actions to Confluence. And it is a free add-on:

You could get all comments for a page and then delete them. Your script would look like this:

number pageId = 123456;
CComment[] comments = getComments(pageId);
for (CComment comment in comments) {

Hi Andreas,

You could do this with the Confluence Command Line Interface plugin - - which has a removeComments ( command.

Would that work for you?


Thank you, but that will not be comfortable enough for our authors, as they need a web based way to do this..

Ah, ok. There are couple of open feature requests ( and relating to bulk deleting comments via the web interface, but they haven't been implemented yet. Alternatively, anyone with the remove comment permission on a space can delete the comments one by one.


How about create a page that uses the SQL plugin. That would give you access to the comments.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

469 views 3 18
Read article

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