Hello,
I have installed a custom report plugin and I can see that it is enabled in the add-ons manager.
However, when I go to a project's report section, it is not on the list of reports that I can choose.
Any ideas as to what is wrong?
here's the xml code:
<?xml version="1.0" encoding="UTF-8"?>
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="test-table-four"/>
<!-- add our web resources -->
<web-resource key="test-table-four-resources" name="test-table-four Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="test-table-four.css" location="/css/test-table-four.css"/>
<resource type="download" name="test-table-four.js" location="/js/test-table-four.js"/>
<resource type="download" name="images/" location="/images"/>
<context>test-table-four</context>
</web-resource>
<report name="Test Table Four" key="test-table-four" class="com.examplecompany.reports.jira.reports.TestTableFour">
<description>The Test Table Four Plugin</description>
<resource name="view" type="velocity" location="/templates/reports/test-table-four/view.vm"/>
<resource name="i18n" type="i18n" location="TestTableFour"/>
<properties>
<property>
<key>build</key>
<name>test-table-four.build.name</name>
<description>test-table-four.build.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.BuildParamsValuesGenerator"/>
</property>
<property>
<key>team</key>
<name>test-table-four.team.name</name>
<description>test-table-four.team.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.TeamParamsValuesGenerator"/>
</property>
<property>
<key>developer</key>
<name>test-table-four.developer.name</name>
<description>test-table-four.developer.description</description>
<type>user</type>
<values class="com.atlassian.jira.issue.customfields.impl.UserCFType"/>
</property>
<property>
<key>status</key>
<name>test-table-four.status.name</name>
<description>test-table-four.status.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.StatusValuesGenerator"/>
</property>
<property>
<key>issues</key>
<name>test-table-four.issues.name</name>
<description>test-table-four.issues.description</description>
<type>text</type>
</property>
</properties>
</report>
</atlassian-plugin>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I'm facing the same problem after following the Create Report Tutorial. Would you mind to tell me what was wrong in the atalsian-plugin.xml definition? I'm comparing the code but I can't figure out what the problem is.... Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oscar,
Which plugin did you enable?
SUsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Does it have a name? Did you purchase it? Did you create it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It has a name like 'test-table'. It's just a simple report plugin that I created to see if I could.
My java file does compile so I'm not sure if the problem lies there although that could still be a possibility.
I was thinking that this would be a simple 'atlassian-plugin.xml' problem and it would be simple fix of adding some code in there to make it appear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are looking in the right place, a report add-on that enables ok, but does not insert a report in the list usually has a broken atlassian-plugin.xml. Can't tell you much more without seeing it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are there any lines of code that would obviously be the culprit? Also are there any commands that would force it to show up?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's usually the class key or the menu-item definition, but it can be all sorts of things.
There's no way to "force" anything. It can't be done. Imagine you have a library where you can't find a book because it's got the wrong classification. It's not in the library because it thinks it's a badger and libraries don't include countryside!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a way to use a web menu module to contain only the report desired? Would that help?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, because the module would be being misled by the same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
here's the xml code:
<?xml version="1.0" encoding="UTF-8"?>
<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="test-table-four"/>
<!-- add our web resources -->
<web-resource key="test-table-four-resources" name="test-table-four Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="test-table-four.css" location="/css/test-table-four.css"/>
<resource type="download" name="test-table-four.js" location="/js/test-table-four.js"/>
<resource type="download" name="images/" location="/images"/>
<context>test-table-four</context>
</web-resource>
<report name="Test Table Four" key="test-table-four" class="com.examplecompany.reports.jira.reports.TestTableFour">
<description>The Test Table Four Plugin</description>
<resource name="view" type="velocity" location="/templates/reports/test-table-four/view.vm"/>
<resource name="i18n" type="i18n" location="TestTableFour"/>
<properties>
<property>
<key>build</key>
<name>test-table-four.build.name</name>
<description>test-table-four.build.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.BuildParamsValuesGenerator"/>
</property>
<property>
<key>team</key>
<name>test-table-four.team.name</name>
<description>test-table-four.team.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.TeamParamsValuesGenerator"/>
</property>
<property>
<key>developer</key>
<name>test-table-four.developer.name</name>
<description>test-table-four.developer.description</description>
<type>user</type>
<values class="com.atlassian.jira.issue.customfields.impl.UserCFType"/>
</property>
<property>
<key>status</key>
<name>test-table-four.status.name</name>
<description>test-table-four.status.description</description>
<type>select</type>
<values class="com.examplecompany.reports.Utils.StatusValuesGenerator"/>
</property>
<property>
<key>issues</key>
<name>test-table-four.issues.name</name>
<description>test-table-four.issues.description</description>
<type>text</type>
</property>
</properties>
</report>
</atlassian-plugin>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.