While doing subversion commit to Jira, wrongly typed the issue key. So now the commit made is appearing in wrong issue key. How to edit the commit already made to change the jira issue key,so as to link to the correct jira issue.
Timothy's link to Stackoverflow gives the info on how to change the SVN commit message.
However, the normal SVN plugin re-index will not pick up the change in the commit messages. This is a long-standing bug that is logged as SVN-59:
JIRA doesn't pick up changes in edited logs
As described in the linked issue, the workaround is to:
...periodically delete the Subversion indexes, and let the update service recreate them.
ie: the entire contents of:
/usr/local/jira/indexes/plugins/atlassian-subversion-revisions
On my system I handle this deletion via a daily cron & it works fine... but it means that the changes to commit logs are never visible within JIRA until the next day.
This has nothing to do with the plugin.
You edit the SVN commit message itself and reindex JIRA to pickup the change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Subversion plus:
https://marketplace.atlassian.com/plugins/pbeltranl.subversion.jira.pbeltranl-jira-subversion-plugin
supports it without deleteing the indexed data.
Open the database console and insert the issue key and the revison number in the CACHE.KEYS table and it will be immediatelly displayed on JIRA. You can also run a batch process to do that.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.