your able to Generate the report in excel sheet or word document. or you can use Servelet to do same.
Report.class file or where you have defined your business logic there you need to put the date.
map mp=new map();
and you can use the map object to velocity.
where you can simply use $dateobj you can use current date.
you have .class file associated to your velocity template.
you need to put it there.
please go through above link it will be helpfule to you.
As an alternative you can use a plugin to make this process much easier. Intelligent Reports lets you design your template in Microsoft Word directly, and then easily point and click to choose what data goes where in the document without any coding involved. You also have the benefit of not needing to maintain a custom installation of JIRA, and avoiding breakages when you want to upgrade. The small cost of the plugin could save a lot of engineering time.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot