How can I remove multiple reviews at once?

In my initial setup of Upsource, it created a review for every commit before I realised what was happening.

Now, I have 650+ reviews that are completely unnecessary.

How can I bulk remove these reviews?

Don't tell me I have to wipe everything or do it via the api...

1 comment
Comment actions Permalink

FTR I had to write JavaScript to accomplish this in the front-end, and it'll take time to do it. Not so nice:

setInterval(function() { 

$('.review-info-panel__review').first().find('a').last().trigger('click'); 

setTimeout(function() { $('.ring-button__danger')[0].click(); }, 2000); 

setTimeout(function() { $('button.ring-button__primary')[3].click(); }, 3000); 

setTimeout(function() { $('a.path-bar__link')[1].click(); }, 4000);

}, 5000);

0

Please sign in to leave a comment.