The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Insert current date into release notes velocity template

todo42
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 10, 2020

How can I print the current date in the velocity template for the release notes (either  text or html).

#set ($date = $dateUtil)
#set ($currentDate = $date.getCurrentDate())

<h2>Version $version - $currentDate</h2>

doesn't work.

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events