Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.4, 6.4.1
-
6.04
-
Description
Summary
After upgrading JIRA, the gadgets lose the default columns (issuetype, issuekey, priority, summary) and remain only with the non-default ones configured.
This happens only when the gadget was using the old method for storing the default values ("--Default--" in gadgetuserpreference table, column userprefvalue)
Steps to Reproduce
- Have a gadget configured with the old configuration used by the default fields
- Upgrade JIRA
Expected Results
Upgraded JIRA should display all gadgets as they were
Actual Results
Gadgets don't have the default columns displayed anymore
Solution / Workaround
Workaround 1
Manually add the columns back
Workaround 2
Replace the entities file entries containing the old value with the actual column names.
-
- Original:
<GadgetUserPreference id="10000" portletconfiguration="10000" userprefkey="columnNames" userprefvalue="--Default--|reporter|customfield_10143" />
- Replaced:
<GadgetUserPreference id="11158" portletconfiguration="10327" userprefkey="columnNames" userprefvalue="issuetype|issuekey|priority|summary|reporter|customfield_10143" />
- Original:
Workaround 3
- Run the query in the database :
select * from gadgetuserpreference where userprefkey = 'columnNames' and userprefvalue like '%--Default--%'
- For all those rows returned, verify the values in the older instance and then update the 'userprefvalue' column with the value from old(pre-upgrade) instance.
Workaround 4 (if you have an xml backup from the pre-upgrade instance)
- Generate an xml backup from your instance
- Find the parts where the gadgetuserpreference is stored.
- Replace this part with the part from the older instance.
- Restore the xml backup to the instance
Attachments
Issue Links
- is duplicated by
-
JRASERVER-42771 System Dashboard Voted issues gadget only displays counts.
- Closed
-
JRASERVER-43235 Missing Fields in Filter Result Gadget After update from JIRA 6.3.15 to JIRA 6.4.X
- Closed
- blocks
-
JSP-226575 Loading...
- was cloned as
-
JC-303 Loading...