Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with custom plugin when migrating from Jira version 9.x.x to version 10.3

Vanessa Torres
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 15, 2025

Hi everyone! I know this seems a popular topic. But now I needed to search for some help and solution since I tried everything solution that I've found in this community.

I tried to upgraded to version 10.3.6 a custom plugin which has been working fine with Jira version 9. But with the new version it stopped working.

These are the versions that I'm currently using for this upgrade:


Jira Version: 10.3.6

SDK Version: 9.9.1

Atlassian Platform version: 8.3.1

Java: 17

 

And, this is my pom.xml after all the dependencies and definitions:

 

<dependencyManagement>
<dependencies>
<!-- Jira BOM: legt alle Versionen für Jira-Abhängigkeiten fest -->
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api-bom</artifactId>
<version>${jira.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Upgrade 10.3 -->
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-deprecated-api-bom</artifactId>
<version>${jira.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.atlassian.security</groupId>
<artifactId>atlassian-secure-utils</artifactId>
<scope>provided</scope>
</dependency>
<!--End Upgrade 10.3 -->
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
<!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>

<!-- Add dependency on jira-core if you want access to JIRA implementation classes as well as the sanctioned API. -->
<!-- This is not normally recommended, but may be required eg when migrating a plugin originally developed against JIRA 4.x -->
<!--
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
-->

<!-- Upgrade 10.3 -->
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>jndi</groupId>
<artifactId>jndi</artifactId>
</exclusion>
<exclusion>
<groupId>jta</groupId>
<artifactId>jta</artifactId>
</exclusion>
<exclusion>
<groupId>com.octo.captcha</groupId>
<artifactId>jcaptcha-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Servlet API -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>2.3</version>
<scope>provided</scope>
</dependency>

<!-- Active objects dependency needed for using atlassian active objects ORM-->
<dependency>
<groupId>com.atlassian.activeobjects</groupId>
<artifactId>activeobjects-plugin</artifactId>
<scope>provided</scope>
<version>5.3.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- Atlassian spring scanner dependency, inside plugin used for DI via annotations like @Component, @Component-Import -->
<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-annotation</artifactId>
<scope>provided</scope>
</dependency>

<!-- Atlassian rest common dependency
Inside plugins mostly used for it's JAX-RS annotations
-->
<dependency>
<groupId>com.atlassian.plugins.rest</groupId>
<artifactId>atlassian-rest-v2-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.atlassian.templaterenderer</groupId>
<artifactId>atlassian-template-renderer-api</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
<version>2.1.1</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-runtime</artifactId>
<version>${atlassian.spring.scanner.version}</version>
<scope>runtime</scope>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>${javax.inject.version}</version>
<scope>provided</scope>
</dependency>
<!-- not included in default template for version 10 -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>

<!-- platform 8 -->
<dependency>
<groupId>com.atlassian.platform.dependencies</groupId>
<artifactId>platform-public-api</artifactId>
<version>${platform.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.atlassian.platform.dependencies</groupId>
<artifactId>platform-test-resources</artifactId>
<version>${platform.version}</version>
<type>pom</type>
<scope>provided</scope>
</dependency>

<!-- Jakarta -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>5.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.inject</groupId>
<artifactId>jakarta.inject-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<scope>provided</scope>
</dependency>

<!-- fasterxml -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>provided</scope>
</dependency>

<!-- End Upgrade 10.3 -->

<!-- WIRED TEST RUNNER DEPENDENCIES -->
<dependency>
<groupId>com.atlassian.plugins</groupId>
<artifactId>atlassian-plugins-osgi-testrunner</artifactId>
<version>${plugin.testrunner.version}</version>
<scope>test</scope>
</dependency>

<!-- TEMPO DEPENDENCIES -->
<dependency>
<groupId>com.tempoplugin</groupId>
<artifactId>tempo-platform-api</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tempoplugin</groupId>
<artifactId>tempo-teams</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tempoplugin</groupId>
<artifactId>tempo-plan-core</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tempoplugin</groupId>
<artifactId>tempo-accounts</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.tempoplugin</groupId>
<artifactId>tempo-platform-jira</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>is.origo.jira</groupId>
<artifactId>tempo-plugin</artifactId>
<version>${tempo.version}</version>
<scope>provided</scope>
</dependency>

<!--CSV-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.10.0</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>provided</scope>
</dependency>

<!-- PostgreSQL -->
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.1</version>
</dependency>

</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>jira-maven-plugin</artifactId>
<version>${amps.version}</version>
<extensions>true</extensions>
<configuration>
<productVersion>${jira.version}</productVersion>
<productDataVersion>${jira.version}</productDataVersion>
<enableQuickReload>true</enableQuickReload>
<extractDependencies>false</extractDependencies>
<applications>
<application>
<applicationKey>jira-software</applicationKey>
<version>${jira.version}</version>
</application>
<application>
<applicationKey>jira-servicedesk</applicationKey>
<version>${jira.version}</version>
</application>
</applications>
<products>
<product>
<id>jira</id>
<instanceId>jira</instanceId>
<version>${jira.version}</version>
</product>
</products>
<!-- See here for an explanation of default instructions: -->
<!-- https://developer.atlassian.com/docs/advanced-topics/configuration-of-instructions-in-atlassian-plugins -->
<instructions>
<Atlassian-Plugin-Key>${atlassian.plugin.key}</Atlassian-Plugin-Key>
<!-- Add package to export here -->
<Export-Package>
com.bi.jira.plugins.blueprints.api,
com.bi.jira.plugins.blueprints.entity.*,
</Export-Package>
<!-- Add package import here -->
<Import-Package>
<!-- jira stuff -->
com.atlassian.jira.plugin.webfragment.contextproviders,
com.atlassian.jira.plugin.webfragment.conditions,
com.atlassian.jira.plugin.workflow,
com.atlassian.jira.issue.customfields.searchers,
com.atlassian.jira.jql.operand,
<!-- tempoplugin stuff -->
com.tempoplugin.jira.plan.core.api.*;resolution:="optional",
com.tempoplugin.planner.api.*;resolution:="optional",
<!-- spring imports -->
org.springframework.aop,
org.springframework.core,
org.springframework.cglib,
org.springframework.cglib.proxy,
org.springframework.cglib.core,
org.springframework.cglib.reflect,
org.springframework.osgi.*;resolution:="optional",
<!-- atlassian imports -->
com.atlassian.jira.*;resolution:="optional",
com.atlassian.event.*;resolution:="optional",
com.atlassian.templaterenderer.*;resolution:="optional",
com.atlassian.sal.*;resolution:="optional",
com.atlassian.activeobjects.*;resolution:="optional",
com.atlassian.security.*;resolution:="optional",
<!-- For forward and backward compatibility -->
javax.inject*;resolution:="optional",
jakarta.inject*;resolution:="optional",
*
</Import-Package>
<!-- Ensure plugin is spring powered -->
<Spring-Context>*</Spring-Context>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
<version>${atlassian.spring.scanner.version}</version>
<executions>
<execution>
<goals>
<goal>atlassian-spring-scanner</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<scannedDependencies>
<dependency>
<groupId>com.atlassian.plugin</groupId>
<artifactId>atlassian-spring-scanner-external-jar</artifactId>
</dependency>
</scannedDependencies>
<!-- Enable this to get build-time logging of annotations atlassian-spring-scanner-maven-plugin has noticed -->
<verbose>false</verbose>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<tempo.version>18.9.0</tempo.version>
<jira.version>10.3.6</jira.version>
<amps.version>9.9.1</amps.version>
<platform.version>8.3.1</platform.version>
<plugin.testrunner.version>2.0.16</plugin.testrunner.version>
<atlassian.spring.scanner.version>4.0.0</atlassian.spring.scanner.version>
<!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
<atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<javax.inject.version>1</javax.inject.version>
<junit.version>4.10</junit.version>
</properties>

 

I'm using this command: atlas-mvn clean package -U, for building the project (after updating dependencies and so on). But, It is constantly failing and I'm retrieving the following error trace: 

[ERROR] Failed to execute goal on project blue-infinity-blueprints: Could not resolve dependencies for project com.bi.jira.plugins.blueprints:blue-infinity-blueprints:atlassian-plugin:2.0.0
[ERROR] dependency: javax.servlet:javax.servlet-api:jar:2.3 (provided)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in maven-central (https://repo1.maven.org/maven2/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in atlassian-proxy (https://packages.atlassian.com/artifactory/maven-atlassian-all/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in terracotta (https://repo.terracotta.org/maven2/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in gradle-plugins (https://plugins.gradle.org/m2/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in mulesoft (https://maven.anypoint.mulesoft.com/api/v1/maven/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in aspose (https://releases.aspose.com/java/repo/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in clojars (https://clojars.org/repo/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in sonatype forge (https://repository.sonatype.org/content/repositories/forge/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in mulesoft-releases (https://repository.mulesoft.org/releases/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in mulesoft-public (https://repository.mulesoft.org/nexus/content/repositories/public/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in typesafe (https://repo.typesafe.com/typesafe/releases/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in jenkins-releases (https://repo.jenkins-ci.org/releases/)
[ERROR] Could not find artifact javax.servlet:javax.servlet-api:jar:2.3 in central (https://repo.maven.apache.org/maven2)
[ERROR] dependency: com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 (provided)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in maven-central (https://repo1.maven.org/maven2/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in atlassian-proxy (https://packages.atlassian.com/artifactory/maven-atlassian-all/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in terracotta (https://repo.terracotta.org/maven2/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in gradle-plugins (https://plugins.gradle.org/m2/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in mulesoft (https://maven.anypoint.mulesoft.com/api/v1/maven/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in aspose (https://releases.aspose.com/java/repo/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in clojars (https://clojars.org/repo/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in sonatype forge (https://repository.sonatype.org/content/repositories/forge/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in mulesoft-releases (https://repository.mulesoft.org/releases/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in mulesoft-public (https://repository.mulesoft.org/nexus/content/repositories/public/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in typesafe (https://repo.typesafe.com/typesafe/releases/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in jenkins-releases (https://repo.jenkins-ci.org/releases/)
[ERROR] Could not find artifact com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 in central (https://repo.maven.apache.org/maven2)
[ERROR] dependency: com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 (provided)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in maven-central (https://repo1.maven.org/maven2/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in atlassian-proxy (https://packages.atlassian.com/artifactory/maven-atlassian-all/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in terracotta (https://repo.terracotta.org/maven2/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in gradle-plugins (https://plugins.gradle.org/m2/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in mulesoft (https://maven.anypoint.mulesoft.com/api/v1/maven/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in aspose (https://releases.aspose.com/java/repo/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in clojars (https://clojars.org/repo/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in sonatype forge (https://repository.sonatype.org/content/repositories/forge/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in mulesoft-releases (https://repository.mulesoft.org/releases/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in mulesoft-public (https://repository.mulesoft.org/nexus/content/repositories/public/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in typesafe (https://repo.typesafe.com/typesafe/releases/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in jenkins-releases (https://repo.jenkins-ci.org/releases/)
[ERROR] Could not find artifact com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 in central (https://repo.maven.apache.org/maven2)
[ERROR] dependency: com.atlassian.pats:pats-test-plugin:jar:3.1.1 (provided)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in maven-central (https://repo1.maven.org/maven2/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in atlassian-proxy (https://packages.atlassian.com/artifactory/maven-atlassian-all/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in terracotta (https://repo.terracotta.org/maven2/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in gradle-plugins (https://plugins.gradle.org/m2/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in mulesoft (https://maven.anypoint.mulesoft.com/api/v1/maven/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in aspose (https://releases.aspose.com/java/repo/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in clojars (https://clojars.org/repo/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in sonatype forge (https://repository.sonatype.org/content/repositories/forge/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in mulesoft-releases (https://repository.mulesoft.org/releases/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in mulesoft-public (https://repository.mulesoft.org/nexus/content/repositories/public/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in typesafe (https://repo.typesafe.com/typesafe/releases/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in jenkins-releases (https://repo.jenkins-ci.org/releases/)
[ERROR] Could not find artifact com.atlassian.pats:pats-test-plugin:jar:3.1.1 in central (https://repo.maven.apache.org/maven2)
[ERROR]

 

I did a lot of things, included adding this dependencies in my pom.xml, but it is always complaining about these three dependencies: 

com.atlassian.oauth2:oauth2-pageobjects:jar:5.2.2 (provided)

dependency: com.atlassian.monitoring.and.alerting:atlassian-lighthouse-plugin-wired-tests:jar:2.0.4 (provided)

dependency: com.atlassian.pats:pats-test-plugin:jar:3.1.1 (provided)

Please, can someone give me a light here? Which dependency is requesting these specific dependencies? and How can I fix this problem? 

 

Thanks in advance I really appreciated!

 

 

0 answers

Suggest an answer

Log in or Sign up to answer