SDK version for Jira 8.2.3

KL Kumar July 11, 2019

Hi,

I have installed the latest atlassian-plugin-sdk-8.0.16 and trying to develop a plugin for jira. I created a new plugin template using the below command.

atlas-create-jira-plugin

 And it generated the following pom properties.

 <properties>
<jira.version>7.6.1</jira.version>
<amps.version>6.3.14</amps.version>
<plugin.testrunner.version>1.2.3</plugin.testrunner.version>
<atlassian.spring.scanner.version>1.2.13</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>
<!-- TestKit version 6.x for JIRA 6.x -->
<testkit.version>6.3.11</testkit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

I would like to create a plugin with jira 8.2.3 version. In this case, how can I get the correct pom properties with jira 8.2.3 version?

 

Thanks,

Kumar

2 answers

0 votes
KL Kumar July 22, 2019

I have used the following amps version and it resolved the issue.

 

<properties>
<jira.version>8.2.3</jira.version>
</properties>
0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 16, 2019

Hey there,

What you'll want to do is update the jira.version parameter (line 2) to the version you're after - for example just replace your pom.xml with this:

<properties>
<jira.version>8.2.3</jira.version>
<amps.version>6.3.14</amps.version>
<plugin.testrunner.version>1.2.3</plugin.testrunner.version>
<atlassian.spring.scanner.version>1.2.13</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>
<!-- TestKit version 6.x for JIRA 6.x -->
<testkit.version>6.3.11</testkit.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>

The valid version numbers you can use are here for reference

After that, you should be able to run these commands to rebuild based on the new version:

atlas-clean
atlas-mvn package
atlas-run

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer