I'm trying to build a simple plugin that would include a JS file from a different server. I need a way to configure the plugin, so that I can specify include URL form admin panel, without the need to rebuild and reinstall plugin. I can't find any documentation on this topic. Can anyone advise what would be the easiest way to go about it?
Community moderators have prevented the ability to post new answers.
This tutorial is designed for the Atlassian Reference Application, but it should be mostly applicable to Stash as well: https://developer.atlassian.com/docs/common-coding-tasks/creating-an-admin-configuration-form
You may also be interested in how to store the include URL in the database, so look at the documentation on https://developer.atlassian.com/display/SAL/Storing+plugin+settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.