It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to switch to https for gadgets?

Harald Mueller May 07, 2014

For a long time we had linked our Confluence to Jira via a http link.

http://jra.acme.com:8080and http://confluence.acme.com:8080

Adding gadgets in confluence pages adds deep links to the system inside the pages.

Now to increase security we want to change the application link to

https://jira.acme.com:443and https://confluence.acme.com:443

If I do so I'll have to change the external gadgets link to reflect the new protocol, port and all pages that have the gadgets embedded will show an error message that the gadget is not applied to the confluence instance. Embedding the gadget newly will use the new link will work without a problem.

Moreover: If I just add the gadget link using the new link and leave the old one in External Gadgets, the old pages will continue to work, but on adding a gadget newly I will see two instances of the gadget and not to see which one is the http or the https.

Now the question: Is there a way to switch the application link without touching the existing pages?

2 answers

1 accepted

1 vote
Answer accepted
Harald Mueller May 11, 2014

Yes, that worked. Add: For MS SQL Server the query must be

UPDATE iwikidb.dbo.BODYCONTENT
SET body=REPLACE(cast(body as nvarchar(max)),'text to be replaced','text to replace to');

0 votes
Tiago Comasseto May 07, 2014

Hi Harald, I belive this will do what you want: https://confluence.atlassian.com/display/CONFKB/Changing+URLs+of+external+gadgets

Cheers

Harald Mueller May 13, 2014

Solution describe here leads to resolve the problem.

Add: For MS SQL Server the query must be

UPDATE iwikidb.dbo.BODYCONTENT
SET body=REPLACE(cast(body as nvarchar(max)),'text to be replaced','text to replace to');

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

2,413 views 11 28
Read article

Community Events

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

Events near you