_Note About Velocity Template Customisation

_InclusionsLibrary

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

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

    to

    velocimacro.library.autoreload=true
  3. Restart Jira for the changes in velocity.properties to take effect. After this, you can deploy velocity template changes without a restart.

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.

Last modified on Sep 22, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.