Recently set up Jira and installed the subversion plugin to link to our svn server. We did some test commits to a freshly create repo/directory, made sure they came through in Jira, then removed the directory from the svn server.
In the subversion tab for the issue that we tested the commits with, we can still see the deleted commits. I've deleted the atlassian-subversions-revisions directory and restarted Jira to reindex, but the commits are still showing.
So... are these held somewhere else in Jira that I need to clear out to stop them showing, or is this an svn thing where they've not actually been deleted and Jira can still see them?
Obviously not a massive problem - it only affects a couple of issues on one project, but Jira's new and clean at the moment and I'd like to keep it that way!
It is not possible to delete any commit in Subversion. So, the plug-in is working fine.
For example: If you create a version of an artifact X in the revison N with the comment "blah, blah, blah TEST-1 blah, blah" and then you delete it the revision N+1, it will still be shown in the issue page , related to the revision N.
That is because the plug-in gets the full history of the whole repository (for all the versioned artifacts) and X@N is part of the history, even it was deleted in X@N+1
Hope this helps,
It sounds like your SVN plugin's index directory has been corrupted, but once you have deleted the index and restarted the application the index will be recreated and the deleted commits should no longer show. So, to do this please perform the following steps:
All the best,
Hi, thanks for the reply.
So I have tried this, deleting both the atlassian-subversion-revisions directory and everything beneath $INDEXDIR with a forced reindex after logging back into jira. Comments are still showing.
So that's stop jira, delete the directory, start jira, force/wait for a reindex. You can see the reindex happening because there are no comments immediately after login then they reappear after the index has happened. But unfortunately too many of them :-)
If that's the process though for resyncing the plugin with the repos, then it suggests the comments actually haven't been deleted from the svn properly. Might be worth me re-checking there just in case.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
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!
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