What config file can "application links" be modified from. The goal is to be able to remove and link applications through a config file instead of the application or REST.
Hi anowesol,
There isn't and the application would most likely needed to be restarted every time if that's how it worked. I believe Application Links reside in the propertyentry
table. Cheers!
Welcome! Don't look to closely, the API is going to be a better use of your time. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Community!
Simple answer is "none". Application links are held in the database, not files.
From memory, the only way you can write the details of a link into the database correctly is by copying the encoded stuff from an existing working link, which predicates that you'll have to have set it up via the UI or REST before.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your answer, Nic. This actually makes sense. So REST our the UI, are the only ways to modify application links. What if if I tried to modify it directly in the in the database?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, they are.
If you modify them in the database, you'll have two problems.
1. As I said, you won't actually know what to put in there (unless you've copied it from an existing correctly configured link)
2. Exactly as @Joshua Sneed Contegix says, most (all?) Atlassian applications load and cache their links at startup. So if you poked new data into the database, you would need to restart them to make it re-read for the new data.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The SQL we use in Data Center is
select property_key, propertyvalue, propertystring.id from propertyentry join propertystring on propertyentry.id = propertystring.id where property_key like 'applinks.admin%url';
Then once we know the two ids 123, 234
update propertystring SET propertyvalue = 'https://my-other-wiki.example.com' where id in (123,234);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Of course, this change is made with the Jira instance stopped. And assumes that the app link has already been set up in the UI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.