Hi,
I have a few JIRA plugins that were developed for JIRA 3.10 and I would like to update them to JIRA 4.x and use the latest SDK. Reading the documentation it looks like the easiest thing is to recreate a plugin skeleton and then copy in the Java files from the old project.
Is this the way to go? Or is there a better way to update the old project?
Community moderators have prevented the ability to post new answers.
I usually do this by creating a clean plugin skeleton and copying files over. Just to know that the pom.xml is the latest format (e.g. jira.data.version changes too) and also set for version two. Then copy the files, get them to compile and prepare for some dependency injection failures at run-time.
I have looked a bit more into the original project. The old SDK didn't use pom.xml, and the skeleton is copied rather than created by scripts.
Copying files to a new skeleton and correct the code seems to be the best option. Would be nice to have the old project up an running though. At the moment it cant find the references.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That doesn't change anything. The only change in the plugin skeleton will be the jira version and whether the plugin is v2 or not.
The migration might not always be as simpla e as copying files across. While some plugins will work as it is, some will require huge changes. It depends on what your plugin does and what plugin modules you use!
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.