Custom Report does not show on the Project's Reports screen

I have been trying to create a custom report, mostly for learning purposes, following the Atlassian tutorial.

I have added the <report> in the atlassian-plugin.xml like this

<report name="Detailed Issue Report" i18n-name-key="" key="detailed-issue-report" class="com.principal.jira.reports.DetailedIssueReport">
<description key="detailed-issue-report.description">The Detailed Issue Report Plugin</description>
<resource name="view" type="velocity" location="/templates/reports/detailed-issue-report/view.vm"/>
<resource name="i18n" type="i18n" location="DetailedIssueReport"/>
<label key="detailed-issue-report.label"></label>

I have created the Java file and the view.vm file.

public class DetailedIssueReport extends AbstractReport {
... some custom code
public String generateReportHTML(ProjectActionSupport support, Map map){
... some variable setting
return descriptor.getHtml("view", velocityParams);

I have added the properties into the file and some were automatically generated into the main properties file.

Now the tutorial ends here, basically saying that it works like this. But how do I actually access the report? I do not see it in the Project - Reports, there are just the default ones with the thumbnails. Do I need to add the thumbnail to see the report? Or is there some other magical step that I missed?


0 answers

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,276 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot