Some templates to get you started writing custom Jira reports, using the Better Excel plugin.
Formatting the report:
See formatting.
Templates and scripts:
Many files are taken from the official documentation.
You may also want to use ScriptRunner for Jira to test out Groovy scripts separately from your Better Excel templates.