You should let the version in the pom.xml on the version of the lowest Jira version you want your app to be compatible against. This version indicates the API version your app is compatible to.
Then you can simply run any version above that range via:
So let my version in my pom.xml be the same as below ,’
but when i run my atlas-run , we can use atlas-run --product jira -v 8.5.3
Does it work ? I mean when i run the above command does it install a jira with 8.5.3 version and plugin compatible with it ?
Okay if the above method works , How can i generate a jar file of that plugin which is compatible with respected jira version (ex-: 8.5.3) ?
As of now i’m using "atlas-mvn package " command to generate a jar file of the plugin in target folder .
after that i’m uploading that jar file in jira manage apps section .
Can i generate a jar file of plugin for respected jira version ?
Hi, sorry got no notification on your reply.
So your app.jar will be compatible 7.13.0 and up. So also against Jira 8.x (there are some strange things different in AUI between Jira 7.x and 8.x, and some other very special things, but you should be fine)
You have properties>jira.version=7.13.0
When you then run “atlas-package”, the JAR file will be compatible to 7.13.0 and up. But I recommend you to test it on every version at least if Jira starts up with your app installed.
So I would do something like:
atlas-run --product jira -v 7.13.0
atlas-run --product jira -v 8.0.0
atlas-run --product jira -v 8.1.0
atlas-run --product jira -v 8.2.0
…
atlas-run --product jira -v 8.14.0
At best automated in some CI Server. But you will only need that if you publish your app on the Marketplace. If you simply use it internally in your own Jira, just keep it up to date to the Jira Version you are actually using. So if you upgrade once to Jira 8.14, then some time after you can update your code to properties>jira.version=8.14.0
So it depends
TL;DR: in short, your App is compatible to the minimum version of what you specify in the pom.xml and is potentially endlessly upwards compatibly (unless Atlassian introduces some breaking changes in e.g. Jira 9 or so, which is very very seldom)
Actually i want to run this command to run “atlas-run --product jira -v 7.13.0” but the problem is after running this below is executed in command prompt.
But unfortunately jira is not accessible and with below msg
Status : 404
the origin server did not find a current representation for the target resource or is not willing to disclose that one exists after running atlas-run command jira
first you have to change the version of atlassian sdk to be compatible with the desired jira version ( forme mor informations check https://marketplace.atlassian.com/apps/1210950/atlassian-plugin-sdk-windows/version-history)
second, you have to change java-version and amps-version in the pom (to know amps version just excute ‘atlas-version’ and it will give you the amps version)