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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

742 views 21 12
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