I was read https://documentation.riada.io/display/ICV60/Insight+App+Development
I Extract file insight-6.1.0.obr and i see insight-6.1.0.jar after that I install to maven add dependency to project but I don't see insight-core-model
Lead to me can not import com.riadalabs.jira.plugins.insight.services.model.ObjectBean;
Look forward to hearing from you soon. Thank you.
Hi Gia.
Instead of Importing packages to the Repository, simply use the following in your pom.xml, which will copy the packages for you (supported if Insight 6.0.1 is installed):
<repositories> <repository> <id>riada</id> <url>https://repo.riada.io/repository/riada-repo/</url> </repository> </repositories> <properties> <insight.version>6.0.1</insight.version> </properties> <dependencies> <dependency> <groupId>com.riadalabs.jira.plugins</groupId> <artifactId>insight</artifactId> <version>${insight.version}</version> <classifier>api</classifier> <scope>provided</scope> </dependency> </dependencies>
For the rest of the comunity:
If you are using a previous version (e.g. 5.5.7) and do not wish to upgrade Insight:
As noted in the document you referred to: "You need to install insight locally into your mvn repository." and you will have to do this manually by extracting the Insight OBR then the Insight JAR, and manually copy the com.riadalabs.jira.plugins.insight.services.model and com.riadalabs.jira.plugins.insight.services.iql packages to your repository, respecting the correct path ...\repository\com\riadalabs\insight-core-model\0.3.n etc...
The Packages will be found in the Extracted JAR path similar to : ...\insight-5.7.0\insight-5.7.0\META-INF\lib
You can download the different versions of Insight OBR file here.
Please let us know if you require additional information.
Kind regards,
Yinon
Team Riada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yinon,
I have a similar issue. I'm writing a REST Endpoint in JIRA ServiceDesk using Scriptrunner that queries Insight. When copying my Groovy script inside the script box all works fine.
However, I want to put this code in a plugin and that's when the trouble started.
Your answer helped me to get everything compiled, but when loading the plugin using the file box in the REST endpoint I still get "unable to resolve class com.riadalabs.jira.plugins.insight.services.model.ObjectBean" in JIRA.
And yes, I have installed the Insight plugin in Jira.
Any ideas?
Thanks, Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Does anyone have any idea how to work with Assets Java API in Assets 10.4.6 from Jira Service Management 5.4.6? The riada.io repo is no longer operational; I've found their dependencies on Maven Central, but the oldest is 9.0.7, while Atlassian is already using 10.4.6 and higher.
Their docs are useless - https://confluence.atlassian.com/assetapps/assets-app-development-1168847878.html - what gives?! :(
Regards
Daniel Klimuntowski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eh, a colleague helped; they're available on Maven Central:
- https://mvnrepository.com/artifact/com.atlassian.jira.plugins/insight
- https://mvnrepository.com/artifact/com.atlassian.servicedesk/insight-core-model/10.4.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.