we migrated our Jira server to a different server and changed the dns name in new server..
after dns name change , Jira base url is updated to the new dns name.
attachments are fine after migration. but there are few attachments which are in issue comments , which is still pointing the old url of Jira. how do I get this updated to new url.
You will have to put some proxy rules in the front of JIRA to redirect from old urls to the new url. If you are using a web server like Apache in front of JIRA, you can write the rewrite rules in the Apache config.
why these url is not changed when base url is updated. is there a way we can change the urls instead of proxy rules
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From what I understand, you have the fully qualified url in the comments. If it was just the issue key, they would have resolved correctly to the new url.
An option is to update all the urls in DB or modify it in the backup XML and restore from the modified backup file.
Proxy rules are easier though!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Jobin,
yes attachments in comments are fully qualified urls..is there any table where I can update the old urls to the new one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Comments are in the jiraaction table. You should make changes only when JIRA is offline and should do a full reindexing when it is back up.
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.