Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jira server issue comments

Padmasree P
Contributor
December 6, 2018

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.

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2018

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.

Padmasree P
Contributor
December 6, 2018

why these url is not changed when base url is updated. is there a way we can change the urls instead of proxy rules

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2018

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!

Padmasree P
Contributor
December 7, 2018

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.

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 7, 2018

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.

Suggest an answer

Log in or Sign up to answer