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. only shows the version with JIRA which I am able to do so.

UPDATE propertystring SET propertyvalue='' WHERE id in (SELECT FROM propertystring AS PS INNER JOIN propertyentry AS PE ON = 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

0 votes
Accepted answer

Okay I finally found it.


UPDATE bandana SET bandanavalue='<string></string>' WHERE bandanaid in (SELECT bandanaid FROM bandana  WHERE bandanakey LIKE '%applink%' AND bandanavalue LIKE '')

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

981 views 14 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