We had a little issue with an old FishEye server that was running in two instances with the same database. (Clone for test instance was misconfigured)
This caused that the same smart commits repeatedly triggered creation of comments in Jira Issues before we noticed the problem. We were able to narrow down the comments in the database table by user and time frame and identified more than 23k were created within 48 hours.
Now we are looking for the best way to delete those comments without causing any database inconsistencies. Is there any option via UI or API to delete the comments in bulk?
Is this something we should remove directly in the database.
I noticed the comments are stored in the table JIRAACTION and the comments are referenced as well in table COMMENT_VERSION. Is there any other tables that can contain references? Is it fine to shut down the server remove the faulty comments and restart the it?