When using Aspose email in the Atlassian SDK environment, it triggers the install to Jira fail as it causes the following osgi error
osgi.wiring.package; (osgi.wiring.package=com.sun.imageio.plugins.jpeg)]
This is not used in any of my code and removing the dependency on aspose-email resolves the issue.
Latest Atlassian SDK and Jira version 8.20.7
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-email</artifactId>
<version>21.5</version>
<type>pom</type>
</dependency>