JIRA provides the functionality to create release notes for a specific version of a project. The release notes contain all issues within the specified project that are marked with a specific "Fix For" version. The release notes can also be generated in a number of formats (e.g. HTML, plain text, etc.) so as they can be included in various documents.
At present, two example format templates are provided - HTML and Text - using Velocity templates. Further format templates can be created and added to the system.
Generating Release Notes
- Click 'Projects' and select the project of interest.
- Click 'Road Map' tab on the left of the screen.
Tip: If you wish to see past release notes click on the 'Change Log' tab instead.
- Click 'Release Notes' link for the project version whose release notes you wish to generate. The 'Release Notes' page will be displayed.
- Click the 'Configure Release Notes' link to configure the release notes. The 'Configure Release Notes' page will be displayed:
- Select the required project version for which the release notes will be generated in the 'Please select version' dropdown.
- Select the required format of the release notes — HTML and plain text format templates are provided in the 'Please select style' dropdown.
- Selecting the 'Create' button will generate the release notes using the specified template in the specified format. The release notes will be displayed on screen and can be copied and pasted to another application.
Adding a New Format Template
- Create a Velocity template similar in content to that of the examples provided —
releasenotes-html.vm. Consult the JIRA API documentation and the Apache Velocity User Guide.
- The title within the template should be modified along with the code within the text area. The other sections of the template do not need to be modified.
- Add the new format template to the list of existing ones within the
jira-config.propertiesfile. For each new template format, corresponding entries must be added to the existing values of the following properties:
Corresponding entries in both of these properties must be in the same order.
If these properties do not exist in your
jira-config.propertiesfile, then for each of these properties, add the property's name, followed by an '
=', followed by the content of the property's corresponding
<default-value/>element copied from your JIRA installation's
jpm.xmlfile. Next, begin adding the corresponding entries for the new format template.
See Making changes to the
jira-config.propertiesfile for more information.
- The new format template is available for selection as a release note format template.
Also see the tutorial on How to Create a Custom Release Notes Template Containing Comments.