I am working on setting up release notes template to match our existing format. I have two questions that I need some help:
First question: I'd like to get the real path of the attachments shown in the release note. I found com.atlassian.jira.util.AttachmentUtils provides getAttachmentFile method that I can use. What should I change in releasenotes-html.vm file to be able to use AttachmentUtils class? Or is there any other way to get the path of the files?
My second question is how can I get a list of predefined variables (such as $project, $version, $issueTypes) that are available in releasenotes-html.vm?
I'm not sure whether the internal Release Notes feature allows you to access JIRA internals, but the PDF View Plugin does and you can use it to generate really smart Release Notes documents:
Here is a sample output for your interest.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG