Hi Jira Community,
I’ve seen there’s a tutorial for creating own Field types e.g., to limit access based on user groups.
https://developer.atlassian.com/server/jira/platform/creating-a-custom-field-type/
I’ve already successfully done if for other field types and I wanted to do a custom Insight field that I’m extending from:
com.riadalabs.jira.plugins.insight.services.jira.customfield.DefaultObjectCustomField
I’ve the following insight dependencies:
<dependency>
<groupId>com.riadalabs.jira.plugins</groupId>
<artifactId>insight</artifactId>
<version>9.0.7</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.jira.plugins</groupId>
<artifactId>insight-cve-integration</artifactId>
<version>1.3.9</version>
</dependency>
I thought DefaultObjectCustomField should be included in com.riadalabs.jira.plugins but when I try to install it I get:
[c.t.common.MypluginOnStartupListener] Disabling plugin
2022-10-20 15:07:43,100+0000 UpmAsynchronousTaskManager:thread-3 INFO myusername 999x14314x4 1u6i88e 80.146.191.211,100.125.67.227 /rest/plugins/1.0/available/featured [c.a.plugin.manager.DefaultPluginManager] Updating plugin 'com.mycompany.myplugin:1.0.4 A required class was missing: adminonlyinsightfield.name. Please check that you have all of the required dependencies.<br/>com/riadalabs/jira/plugins/insight/services/jira/customfield/DefaultObjectCustomField' from version '1.0.4' to version '1.0.4'
I’m a bit confused what causes it, since I’ve successfully worked with the Insight Plugin before. Has anyone maybe an idea what could cause that behavior?