We are heavy users of Confluence and Jira.
In Confluence we have links to many Jira issues and with our recent move from Hosted Jira to OnDemand Jira all those Jira issues links in Confluence are now broken.
Our Confluence version is 4.1.
Any help is muchly appreciated.
If the name of your JIRA instance is still similar, you could just reestablish the application link to your JIRA. However it seems that you're using OnDemand version, which is unable to establish application link to outside instance due to its restricted function.
Perhaps you could use the following SQL. Please bear in mind this would work with MySQL and backup your database for safety purpose.
UPDATE BODYCONTENT SET BODY = replace(BODY,'https://blah.onjira.com/','https://blah.atlassian.net/') WHERE BODY LIKE '%https://blah.onjira.com%';
Hope it helps
Hi @Kristin Lyons DO you face any issues updating the Update command? I am actually updating the BODYCONTENT Table, But it looks like BodyCOntent Table is crashed post update.
I have used exactly like this apart from Where statement, I used ContentID instead of Body.
Please help me, Since we are moving live this Friday.
I ran the query you provided us with on my PSQL database.
I do see the lines being updated in the DB (I did a commit ) but they do not appear on the web pages even after several refresh (and cache cleaning). Do we have to do some more steps so that updates in db are taken into account? Maybe some cache on server side?
- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events