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,


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:

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

I hope this helps.



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,852 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