Service Desk POM

Hi, i add this dependency in the POM of my plugin. i use the Optional etiquete, but if in tried to install the plugin on a Jira instance without servicedesk, i’m unable to start the plugin. It is there a form to use this dependency but can install the plugin in a jira instance whithout service desk?

 <!-- https://mvnrepository.com/artifact/com.atlassian.servicedesk/jira-servicedesk-api -->        <!-- Dependencia con jira SD-->
<dependency>
   <groupId>com.atlassian.servicedesk</groupId>
   <artifactId>jira-servicedeskapi</artifactId>
   <version>4.2.0</version>
   <scope>provided</scope>
   <optional>true</optional>
</dependency>

Thanks in advance

1 Like