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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,107 views 2 7
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