Upgrading to Jira 10 with Platform 7 changes showing errros

I am getting below errors , even if i included the packages in Import-Packages these error are not resolving

2024-09-04 11:27:52,243+0530 UpmAsynchronousTaskManager:thread-3 WARN admin     [c.a.p.o.hook.dmz.DmzResolverHook] Package com.opensymphony.workflow.spi is deprecated and will be made unavailable for export to plugin ru.andreymarkelov.atlas.plugins.datacollector in a future release
2024-09-04 11:27:52,243+0530 UpmAsynchronousTaskManager:thread-3 WARN admin     [c.a.p.o.hook.dmz.DmzResolverHook] Package com.opensymphony.workflow is deprecated and will be made unavailable for export to plugin ru.andreymarkelov.atlas.plugins.datacollector in a future release
2024-09-04 11:27:52,244+0530 UpmAsynchronousTaskManager:thread-3 WARN admin     [c.a.p.o.hook.dmz.DmzResolverHook] Package com.opensymphony.workflow.loader is deprecated and will be made unavailable for export to plugin ru.andreymarkelov.atlas.plugins.datacollector in a future release

Can any one please suggest what would be resolution in Jira 10 with 10.0.0 version for jira.

Hello DharmaTeja,
it looks like you’re encountering deprecated package warnings for com.opensymphony.workflow and related packages. These packages are indeed deprecated and will be made unavailable in future releases1. To resolve this, you should update your code to use the new APIs provided by Jira.

Maybe you can update your dependencies and code:

Update Dependencies

Make sure you have the latest versions of the required dependencies in your pom.xml:

<dependency>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-api-bom</artifactId>
    <version>10.0.0</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>
<dependency>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-core</artifactId>
    <version>10.0.0</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>jakarta.servlet</groupId>
    <artifactId>jakarta-servlet-api</artifactId>
    <version>5.0.0</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>jakarta.ws.rs</groupId>
    <artifactId>jakarta-rest-api</artifactId>
    <version>3.0.0</version>
    <scope>provided</scope>
</dependency>
<dependency>
    <groupId>jakarta.xml.bind</groupId>
    <artifactId>jakarta-jaxb-api</artifactId>
    <version>3.0.0</version>
    <scope>provided</scope>
</dependency>

Update Code

Replace any references to the deprecated com.opensymphony.workflow packages with the new Jira APIs. For example, if you were using com.opensymphony.workflow.loader.WorkflowManager, you should now use the appropriate Jira API class.

Hope that heps :slight_smile:

Best regards
Daniel