Hello,
I have followed the following guide to create custom release notes with release comments:- https://developer.atlassian.com/server/jira/platform/creating-a-custom-release-notes-template-containing-release-comments/
My custom HTML template is working fine and is being used by default on my release notes pages. However at the top of the page are two grey empty rows which I believe are supposed to contain options to select and display either the Text or HTML templates.
Are there supposed to be two grey empty rows at the top and is this guide fully up to date or is it missing something?
Screenshot below:
Hi Chris,
After going through the steps in the tutorial, I see the same thing you do. The Configure Release Notes button was no longer present. I compared the original html and text templates to the customized ones provided by the tutorial, and it looks like the code that includes the button is missing. I was able to add it back by modifying the custom html and text .vm files. In each file you'll want to add the following code starting on the line below the <body> tag:
<div class="ops-cont">
<ul class="ops">
<li>
<a class="button first last" href="$!requestContext.baseUrl/secure/ConfigureReleaseNote.jspa?projectId=${versionObj.projectObject.id}&version=${versionObj.id}">$action.getText('releasenotes.configure')</a>
</li>
</ul>
</div>
If you haven't configured Jira to pick up the template changes automatically, you'll want to restart the service for those changes to be applied.
Works like a charm, thanks Shaun!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.