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

Enhance loading of releasenotes templates

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Project - Releases
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Currently only those Velocity templates are loaded into classpath which are defined by the property jira.releasenotes.templates. We now have a particular use case where we tried to provide a template only for a particular project by changing the file releasenotes-html.vm to something like this:

      #if($project.name == "myproject")
        #parse("myproject-html.vm")
      #else
        #parse("releasenotes-html-orig.vm")
      #end
      

      However, the file myproject-html.vm obviously cannot be loaded by Velocity since it is not in the classpath.

      So for us it would be very nice to simply have all the files in the template's directory available for Velocity.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              178dac4e260f Bernd Adamowicz
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: