Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-40338

Enhance loading of releasenotes templates

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Resolved (View Workflow)
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Project - Releases
    • Labels:
      None
    • Feedback Policy:
      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 An updated workflow for server feature suggestions.

      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

              • Assignee:
                Unassigned
                Reporter:
                info455 Bernd Adamowicz
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: