This page last changed on Aug 17, 2010 by jlargman.

Customisations to Velocity templates or other JIRA files are not included in the scope of Atlassian Support.
Deploying Velocity Templates without a Restart

In a development instance, you can play with picking up velocity file changes without a restart.
From <jira-install>/atlassian-jira/WEB-INF/classes/velocity.properties:

  1. Change class.resource.loader.cache from true to false
  2. Uncomment (remove the # sign from) #velocimacro.library.autoreload=true
Keep in mind that the next time you upgrade JIRA – or need a new installation for any reason – you will have to manually copy any changes you have made to the JSPs or tempates into the new installation of JIRA. If the JSPs or templates have changed in the newer version, you will have to port your customization into them.

If you wish to add javascript to every page within JIRA (for example for use with Goolge Analytics), add the following javascript to <atlassian-jira>/includes/decorators/header.jsp (JIRA 4.x) or stylesheettag.jsp (JIRA 3.13):

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-xxxxx";
urchinTracker();
</script>
Document generated by Confluence on Mar 27, 2011 18:54