Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

What file has the "application links" config

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.

2 answers

2 accepted

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!

Thanks, Joshua. I will check out that table.

Welcome! Don't look to closely, the API is going to be a better use of your time. Cheers!

Like # people like this
0 votes
Answer accepted

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.

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?

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.

Like # people like this

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);
Like anowesol likes this

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

Like Nic Brough _Adaptavist_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

79 views 0 3
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