-
Type:
Bug
-
Resolution: Low Engagement
-
Priority:
Low
-
None
-
Affects Version/s: 6.2.3
-
Component/s: Dashboard & Gadgets
-
6.02
-
4
-
Severity 3 - Minor
-
1
Root cause
Inside jira-components/jira-plugins/jira-gadgets-plugin/src/main/resources/atlassian-plugin.xml
There is a fragment:
<gadget key="text-gadget" name="Text" location="gadgets/text-gadget.xml" state="disabled"> <param name="roles-required">use</param> </gadget>
Which as the only gadget has the state="disabled" attribute. This cause enabling it in JIRA does not give persistence through the restart.
Workaround
- Unpack the atlassian-bundled-plugins.zip
- Unpack the jira-gadgets-plugin-<your-jira-version>.jar
- Open the atlassian-plugin.xml in a text editor and modify the following lines, then save it
<gadget key="text-gadget" name="Text" location="gadgets/text-gadget.xml" state="disabled">
become
<gadget key="text-gadget" name="Text" location="gadgets/text-gadget.xml">
- compile jira-gadgets-plugin-<your-jira-version> folder to .jar
- zip the atlassian-bundled-plugins directory
- restart JIRA