Take the date on my word document

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

1 answer

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published yesterday in Feedback & Announcements

How do you analyze GC logs, thread dumps and head dumps?

Hi awesome community!  In this article, I would like to describe the one of the toolset (service) for the analyze some problems on different Java-based instances, of course, as Atlassian admini...

100 views 0 7
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you