Hi, how can I tell if the current JIRA instance is running Service Desk and which version?
This needs to be done programmatically (i.e. for a plugin)
Community moderators have prevented the ability to post new answers.
As Nic already mentioned, since Jira 7 Service Desk is an application. Therefore ApplicationManager should be the right choice to get that info.
final Option<Application> applicationOption = applicationManager.getApplication(ApplicationKey.valueOf("jira-servicedesk"));
if (applicationOption.isDefined()) {
// Service Desk is available
} else {
// Service Desk is not available
}
Sorry forgot to mention this needs to be done programmatically (i.e. for a plugin)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah. There's a "pluginManager" class you can use to get lists of active add-ons in JIRA. But in JIRA 7, Service Desk is now an "application" and I'm not sure that the plugin manager will see it as an add-on any more. There is an applicationManager class, but I've not looked at it, just have a vague idea it can tell you some stuff about what is licenced and what project types are available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic. Thanks for that Info. Did a check and Application Manager is crowd and is not the right one. Plugin manager is depreciated since 2006 but says to use one of its interfaces so I used PluginAccessor. This shows JIRA Service Desk Application as one of the plugins so JIRA applications must just be a different form of plugin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you want to add your comment as an answer so I can mark as correct. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The System info page will tell you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.