I need to take the todays date on my issue export in word document. So i add the coding in .vm file like this "$outlookdate.formatDMY($currentDate)" . So the date is coming like this ex: 22/Nov/12. But ineed the format of word 22/11/2012 in this format. What is the chage do i need to do in my codings...... Plz some one help me
The documentation for outlookdate with it's format methods is here:
outlookdate is deprectaed though so it would be better to use DateTimeFormatter
although I would not be sure how to get that into your velocity context, you may have to modify Java code.
As an alternative you could use a plugin specifically designed for exporting JIRA data to word format, such as Intelligent Reports. This lets you design your template in Word and then simply choose what data/dates/formats etc to place in your word document from a series of drop down menus. It is a lot easier than messing about with the Velocity templates.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.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