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

0 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,331 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot