Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Updating older JIRA plugin projects

Deleted user July 11, 2011

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?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 12, 2011

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.

Deleted user July 13, 2011

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.

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 11, 2011

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!

TAGS
AUG Leaders

Atlassian Community Events