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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

912 views 45 7
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