Regarding JIRA6 Source code customization.

Hi,

We are migrating from JIRA 4.3 to JIRA 6. There were certain customization done in the source code of JIRA 4.3. There was a class called CreateIssueHandler.java, whcih was changed to add some customization. I dont have access to the JIRA 6 code yet. But If anybody can help me with following questions.

1. If i get access to the code for JIRA6 when my IT support team gets it. How do I complie the code?

2. I understand that there is something like external-source in JIRA where i can put my small changes of code. But how do i complie it? this souce code should be the source files present in the JIRA code itself? how does it complie when it is put in the different directory than the original package of the source file.

I am still looking in to the code changes for the customization. Need to migrate changes in to the JIRA 6 server as well. Please help.

Thanks,

Nithin.

1 answer

1 accepted

Accepted Answer
0 votes

1. https://confluence.atlassian.com/display/JIRA/Building+JIRA+from+Source

2. This is a little confused - you might be talking about a number of things. There's three layers to compiling stuff you might mean.

  • Plugins/addons - these are compiled outside Jira completely, but, when installed, use the internals of Jira directly. You can compile these yourself, but it's far easier to simply use the Atlassian SDK as a framework. You do NOT need Jira source code to do this
  • WAR distributions of Jira - these are changes you make to the core distributable files - tweaks to jsp and vm files, properties and settings files, adding certain types of plugin etc, but no Java. To do this, you'd download a WAR copy of Jira, put your changes into "edit webapp" and recompile the WAR file to be deployed. This does NOT need the Jira source code.
  • Compile the whole of Jira from source (although, you can, of course, do bits of it, it's often not necessary to do everything).

Whatever code changes you're looking at, you need to establish where they are before you can start on them.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

35 views 0 2
Join discussion

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