How to update Confluence Application Links via database?

Hi I have not found any tutorial that shows me how to update the app link in Confluence via database.

https://confluence.atlassian.com/display/JIRAKB/How+to+update+the+url+for+Application+link only shows the version with JIRA which I am able to do so.

UPDATE propertystring SET propertyvalue='https://confluence-staging.example.com' WHERE id in (SELECT PS.id FROM propertystring AS PS INNER JOIN propertyentry AS PE ON PS.id = PE.id WHERE PE.property_key LIKE '%app%' AND PS.propertyvalue LIKE '%confluence.%');

How do I do that with Confluence? I see trustedapp table but I have just one row!

confluence=# select * from trustedapp;
 trustedappid |     name     | timeout | public_key_id
--------------+--------------+---------+---------------
     44597254 | jira:9972319 |   10000 |      44630022
(1 row)

Is that normal!? Thanks

1 answer

1 accepted

This widget could not be displayed.

Okay I finally found it.

 

UPDATE bandana SET bandanavalue='<string>https://jira-staging.example.com</string>' WHERE bandanaid in (SELECT bandanaid FROM bandana  WHERE bandanakey LIKE '%applink%' AND bandanavalue LIKE '%jira.example.com%')

Suggest an answer

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

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

361 views 2 5
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