Confluence workbox notifications linking to old JIRA site URL

Our organization initially had JIRA but not Confluence. We recently added Confluence but used a different account because we were changing who paid. After connecting the accounts, we migrated JIRA to the new URL. The accounts were successfully connected. Links back and forth work exactly as expected with the exception of the Confluence workbox notification links going back to JIRA. Those links (and only those) are still pointing to the old JIRA URL.

We removed the links and re-linked JIRA to Confluence and Confluence to JIRA trying to force the workbox JIRA links to update, but nothing changes.

4 answers

The same for us here. Is there any workaround ?

We have the same issue, using Confluence 5.9.4 and JIRA Software 7.1.1.

I know this is an old thread but, we encountered a similar issue. We upgraded a linked jira and the workbox notification link is still pointing to the old jira url.

What's the best way to fix this? Thanks

EDIT: I have linked the wrong bug. Adding the correct one with the correct work-around:

Maybe a bit too late... but this looks the same as:

- https://jira.atlassian.com/browse/CONFCLOUD-53830

 

Also, if this is the case, try to check if this is helping:

Search for the id of the row containing the wrong data (old JIRA is the old JIRA hostname. E.g. jira.something.com):

select * from "AO_9412A1_AOREGISTRATION" where "DATA" like '%JIRA_URL%';

 

Write down the ID of the returned row(s), then run below queries (replace ID_FROM_PREVIOUS_QUERY with the ID you got from the previous query):

update "AO_9412A1_AOREGISTRATION" set "DATA" = replace("DATA", '"displayURL":"https://OLD_JIRA"', '"displayURL":"https://NEW_JIRA"') where "ID" = ID_FROM_PREVIOUS_QUERY;

 

Then:

update links set destpagetitle = replace (destpagetitle, 'OLD_JIRA', 'NEW_JIRA'); 
update links set lowerdestpagetitle = replace (lowerdestpagetitle, 'OLD_JIRA', 'NEW_JIRA');
update bodycontent set body = replace (body, 'OLD_JIRA', 'NEW_JIRA');

 

Finally, Re-index and flush the cache.

 

 

I hope this helps...

 

Cheers,

Dario

 

EDIT: I have linked the wrong bug. Adding the correct one with the correct work-around:

Maybe a bit too late... but this looks the same as:

- https://jira.atlassian.com/browse/CONFCLOUD-53830

 

Also, if this is the case, try to check if this is helping:

Search for the id of the row containing the wrong data (old JIRA is the old JIRA hostname. E.g. jira.something.com):

select * from "AO_9412A1_AOREGISTRATION" where "DATA" like '%JIRA_URL%';

 

Write down the ID of the returned row(s), then run below queries (replace ID_FROM_PREVIOUS_QUERY with the ID you got from the previous query):

update "AO_9412A1_AOREGISTRATION" set "DATA" = replace("DATA", '"displayURL":"https://OLD_JIRA"', '"displayURL":"https://NEW_JIRA"') where "ID" = ID_FROM_PREVIOUS_QUERY;

 

Then:

update links set destpagetitle = replace (destpagetitle, 'OLD_JIRA', 'NEW_JIRA'); 
update links set lowerdestpagetitle = replace (lowerdestpagetitle, 'OLD_JIRA', 'NEW_JIRA');
update bodycontent set body = replace (body, 'OLD_JIRA', 'NEW_JIRA');

 

Finally, Re-index and flush the cache.

 

 

I hope this helps...

 

Cheers,

Dario

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,821 views 27 11
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you