Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[RESOLVED] Custom release notes Html and Text options

zcandrews
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 28, 2018

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:

Screenshot_2018-03-28_10-58-09.png

1 answer

1 accepted

0 votes
Answer accepted
Shaun S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 9, 2018

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.   

zcandrews
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2018

Works like a charm, thanks Shaun!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events