Bulk edit JIRA issue macro to point to a different instance of jira

We recently migrated both JIRA and Confluence from cloud to server. The confluence JIRA issue macro links are broken, still pointing to the cloud installation of JIRA (which is still running). I attempted to follow the instructions in the relevant guide (https://confluence.atlassian.com/display/CONFKB/How+to+bulk+edit+JIRA+Issue+Macro+to+point+to+a+different+JIRA+instance), but after being copied, both the server and cloud JIRA instances have identical application IDs and names. I can change the name of the server by altering the title in JIRA General Configuration, but see no way to alter the JIRA application id. Please advise.

Thank you,

Jack

1 answer

2 votes

Hi Jack,

I believe you can forcefully remove the app links from both apps and recreate them using the correct URL this time using this link.

Then, by editing the page contents withing the database using the SQL below, it should pointing to the new JIRA server URL:

UPDATE BODYCONTENT
   SET BODY = REPLACE(BODY,'<old_string>','<new_string>');

I hope this helps.

Cheers,

Rodrigo

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

68 views 3 2
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