Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-29923

"autoreload" Velocity property is not working for JIRA 5.1.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Low
    • 5.2
    • 5.1.2, 5.1.5
    • None

    Description

      It is possible for us to create a custom release notes template, as according to the following documentation:

      And from the documentation, it is possible for us to enable velocity auto reload, so that the changes that we made to the velocity template will be picked up without restarting JIRA:

      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

      However, the autoreload property is not working for JIRA 5.1.x (tested on JIRA 5.1.2 and 5.1.5). Hence if there any changes made to the Velocity template file, we will have to restart JIRA although the option has already been enabled.

      The behavior is not reproducible in JIRA 5.0.5.

      Workaround: Use Tomcat 7 and this should work!

      Attachments

        Activity

          People

            Unassigned Unassigned
            afaisal Ahmad Faisal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: