Is it possible to clear all ratings?

When we move from a test to a production environment, we'd like to "reset" the page ratings. Is this possible with the Adaptavist rate plugin?

2 answers

Anyone have anything on this?

Heard back from Adaptavist. This is what they said:

The rating data is stored in 'Bandana', so you may be able to remove the data directly from the bandana table in the database.

The keys for the rating data will be prefixed with "com.adaptavist.confluence.rate.internals.RateManagerImpl:" if that helps.

Be careful though as the bandana table is used to store data for other plugins, so don't just empty it.

Follow up with some additional details:

1) To remove all ratings, run this query:

DELETE FROM [Confluence].[dbo].[BANDANA] WHERE [BANDANAKEY] LIKE 'com.adaptavist.confluence.rate.internals.RateManagerImpl:%'

2) To check, run this query:
SELECT * FROM [Confluence].[dbo].[BANDANA] WHERE [BANDANAKEY] LIKE 'com.adaptavist.confluence.rate.internals.RateManagerImpl:%'

There should be no results.

3) Must restart server after running the first query.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,695 views 26 10
Join discussion

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