How to create import configuration on insight ?


I would like to create my custom import configuration using groovy. I have checked the documentation , but I do not know how to install the insight jar. Does it come from the obr ? If so, how to install it ?

Do I really need to create an add-on or can I simply run a groovy script ? 

Is there an existing full example somewhere ?



1 answer

1 accepted

0 votes
Accepted answer

Hi Antoine,

Yes you need to create a separate add on for this. The documentation you refer to has a example implementation link at the bottom.
The .jar file can be extracted like any zip file, you can read more about it at

Best Regards

Hi Alexander, thanks for your quick answer. 

So I have put the dependency in the pom.xml and imported the jar. I then tried to run the script of the ImportModuleConfiguration with only the import lines. But when I ran the full script to give it a try, Insight disappeared from jira. 

I restarted jira and Insight is still not loaded. I have tried this workaround without success. 

These are the errors in the logs at the time I ran the sript (I'm not sure how to see the errors upon restart) : 

2017-11-09 16:34:11,804 http-nio-8300-exec-14 ERROR berrya 994x2568x1 13svroq, /secure/InsightConfigure.jspa [c.a.j.web.dispatcher.JiraWebworkActionDispatcher] Exception thrown from action 'InsightConfigure', returning 404 
WebworkConfigurationNotFoundException{class=class webwork.config.XMLActionConfiguration, message='No such view mapping', name='InsightConfigure.actionRoles.actionRoles'}

And for a lot of modules : 

2017-11-09 16:35:11,383 JIRA-Bootstrap INFO [c.a.plugin.manager.DefaultPluginManager] Plugin system earlyStartup begun
2017-11-09 16:35:15,256 JIRA-Bootstrap ERROR [c.a.plugin.parsers.XmlDescriptorParserUtils] There were problems loading the module 'ao' in plugin 'Insight'. The module has been disabled.
2017-11-09 16:35:15,257 JIRA-Bootstrap ERROR [c.a.plugin.parsers.XmlDescriptorParserUtils] Cannot find ModuleDescriptor class for plugin of type 'ao'.
com.atlassian.plugin.PluginParseException: Cannot find ModuleDescriptor class for plugin of type 'ao'.
at com.atlassian.plugin.DefaultModuleDescriptorFactory.getModuleDescriptor(
at com.atlassian.plugin.parsers.XmlDescriptorParserUtils.newModuleDescriptor(
at com.atlassian.plugin.parsers.XmlDescriptorParser.createModuleDescriptor(
at com.atlassian.plugin.parsers.XmlDescriptorParser.configurePlugin(
at com.atlassian.plugin.loaders.SinglePluginLoader.loadPlugin(
at com.atlassian.plugin.loaders.SinglePluginLoader.loadAllPlugins(
at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadClassPathPlugins(
at com.atlassian.plugin.loaders.ClassPathPluginLoader.loadAllPlugins(
at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(
at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(
at com.atlassian.jira.plugin.JiraPluginManager.earlyStartup(
at com.atlassian.jira.ComponentManager$PluginSystem.earlyStartup(
at com.atlassian.jira.ComponentManager.quickStart(
at com.atlassian.jira.ComponentManager.start(
at com.atlassian.jira.upgrade.PluginSystemLauncher.start(
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$postDbLaunch$2(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseActivated(
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(
at com.atlassian.jira.startup.DefaultJiraLauncher.start(
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(


Any idea ? I would really like to retrieve my insight configuration because I just worked a lot on it. That would save the day (I know this was dumb on me...).



I missed this line as well : 

 The following plugins failed to load:
Insight: OSGi plugins cannot be deployed via the classpath, which is usually WEB-INF/lib.
URL is: jar:file:/appjira/logiciels/list/jira/atlassian-jira/WEB-INF/lib/insight-5.1.4.jar!/atlassian-plugin.xml

I fixed the issue, sorry for the disturbance. I deleted the jar on the server and restarted jira, and it worked.



Hi Antoine,

Glad that you got it up and running again.

Best Regards

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

464 views 8 27
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you