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

How do I safely delete comments from a page by year?

Hello all,

I have a page in Confluence that has ~400 comments. It is getting unruly and I am looking for an efficient (and safe) way to remove comments in bulk from a page by year.

I am going to take screenshots of the comments by year to archive them somewhere and will be removing them by year as I go.

I noticed that in the database, there is a content table and I can query all content by type (comment) and by page ID. I can also sort by date it looks like. I am concerned that if I delete comments directly from this table, there could be dependencies I am not aware of that could cause issues. Would it be safe to delete comments directly from this content table or is there a better way?

1 answer

1 accepted

1 vote
Answer accepted
Stephen_Wright Community Leader Nov 03, 2019

Hi @Bryan Gilbert

It's probably safer to use an add-on to accomplish this such as:

Not so sure on the database; it's not the approach I'd take but there's an answer here which might help with that.

Ste

Thank you Stephen!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

306 views 9 7
Join discussion

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