Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to clear all ratings?

Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 19, 2012

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

0 votes
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2012

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.

Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 15, 2012

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.

0 votes
Matthew J. Horn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 10, 2012

Anyone have anything on this?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events