It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira 5 plugin in Jira 4

Hello friends!, i dev a plugin on Jira 5 version using the java api, works fine but when using the plugin in jira 4 version, i have an exception on java with VersionManager class, Is it a version compatibility problem? Or the code should be perfectly compatible?, sorry for my English.

3 answers

1 accepted

1 vote
Answer accepted

Yep. After that just run atlas-package to check for compile errors. In none will bw found, you can check if your plugin work correctly.

Another option to set Jira version is via parameter:

atlas-debug --version 4.4

Thats compile, im waiting download the jira 4.4.4 version, I notice that such!

Works! I replaced some classes news in jira 5, thanks!

As far, as I know, API for plugins changed drammatically from 4 to 5 version. You can set Jira version in your pom.xml

<properties>
    <jira.version>5.0.4</jira.version>
    <amps.version>3.9.1</amps.version>
</properties>

and check, whether it works fine. If not, you can fix errors, that arise.

Hope, it helped.

Also, you can be interested in developers docs for migrating from 4 to 5

<properties>

<jira.version>5.0</jira.version>

<amps.version>3.10.2</amps.version>

</properties>

This is my pom.xml, Do you suggest is to replace the jira version of 4 and test if it works?

check your plugin on checkup.atlassian.com you will come know what is causing this .

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published yesterday in Off-topic

Teams behind the teams - Your nominations please!

Teams do amazing things together. We’ve talked about the myth of the lone genius and how everything is actually the result of teamwork. You might be thinking, What about a novelist writing, say, Th...

138 views 1 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you