Community moderators have prevented the ability to post new answers.
You have to test it with each supported JIRA version. To do this I run development instances with different JRIA versions by changing jira.version in the pom.xml.
Also I have prepared JIRA hsql database files (file is named database.script) with test data for each JIRA version. I substitute them during JIRA startup. You need to do substitution after maven build creates target/jira/home dir and before JIRA started. Otherwise you will need to stop JIRA, substitute the file and start it again. Sometimes it's enough to have database.script for smallest JIRA version and higher versions do necessary upgrades during start.
This is time consuming but I do not know better solution.
And what about compatibility between 6.x and 7.x versions? Are there any problems, don't you know?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> compatibility between 6.x and 7.x versions? A
There are major API changes and you will not be able to write JIRA 6.x - 7.x compatible code except trivial addons.
I know 2 ways:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I find JIRA API backward compatibility is very good. I am always developing and testing with the lowest version of JIRA i want to support, then do quick test with higher version. Always worked so far!
For the database migration, I am also using same data zip (generated from the lowest version i need to support), and let newer version of JIRA do the migration during startup, in this way, i am hoping my code will be ok during jira version upgrade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I find JIRA API backward compatibility is very good Not always :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.