For Enterprise deployment.
Using the scripting API, configure Worklog Assistant at run time.
Worklog Assistant is packaged using platform-native packaging formats and you should use these facilities to install the application on the target machines.
Use the following script as a guideline and substitute your own values where needed. Take care to ensure the syntax remains valid JavaScript. Place the resulting file on a web server or shared folder that the client can access freely without any further authentication. In particular, no SSO-type authentication. For the example on this page, we are going to place the file at http://yourserver/path/to/deploy.js
.
registerPlugin(function(model,view) {
this.name = "Deploy script";
var connectionManager = model.connectionManager;
var license = model.license;
if(connectionManager.connections.length == 0) {
license.activate("XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX");
connectionManager.create("https://yourjira.yourcompany.com/jira","","");
}
});
If you have configured SSO using NTLM or SPNEGO for your JIRA instance, this is likely to be all the configuration your users would need.
During installation, but before launching, save the following configuration file as Worklog Assistant.ini
to the appropriate user directory:
%APPDATA%\Fizz Buzz Inc.\Worklog Assistant
~/.config/worklogassistant.com
~/.config/Fizz Buzz Inc./
[Plugins]
urls=http://yourserver/path/to/deploy.js
See the support page.