Hi everyone,
I am developing a JIRA report plugin and I need to add another property (field) into report configuration page. However after I do that, I have to restart JIRA for changes to take effect. I can survive this while development, however restarting live system for just installing new version of a plugin seems to be too much.
How can I solve this? Non of plugins from market requires this, so there must be a way.
For your reference, I've tried so far:
- Changing plugin version in pom.xml
- Ctrl+F5 on plugin management page
- Deleting/installing plugin from scratch
Non of that works. I've seen a lot of questions on the subject, but there were no solutions.
Here is my atlassian-plugin.xml:
<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="report2"/>
<!-- add our web resources -->
<web-resource key="report2-resources" name="report2 Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="report2.css" location="/css/report2.css"/>
<resource type="download" name="report2.js" location="/js/report2.js"/>
<resource type="download" name="images/" location="/images"/>
<context>report2</context>
</web-resource>
<report name="Monitor Report" i18n-name-key="monitor-report.name" key="scope-monitor-report" class="com.reports.jira.reports.Monitor">
<description key="monitor-report.description">Monitor Report</description>
<resource name="view" type="velocity" location="/templates/reports/monitor-report/view.vm"/>
<resource name="view.css" type="download" location="css/view.css"/>
<resource name="i18n" type="i18n" location="MonitorReport"/>
<label key="monitor-report.label"/>
<properties>
<property>
<key>build</key>
<name>monitor-report.build.name</name>
<description>monitor-report.build.description</description>
<type>select</type>
<values class="com.reports.jira.reports.BuildParamsValuesGenerator"/>
</property>
<property>
<key>bsa</key>
<name>monitor-report.bsa.name</name>
<description>monitor-report.bsa.description</description>
<type>user</type>
<values class="com.atlassian.jira.issue.customfields.impl.UserCFType"/>
</property>
</properties>
</report>
</atlassian-plugin>