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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

869 views 3 9
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