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 Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,174 views 20 14
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