The Calendar Gadget is missing from Jira Dashboards after migration
Summary
Learn what to do when the Jira Calendar gadget is not migrating to the cloud along with the Jira Dashboard.
Overview
The calendar gadget is added to the dashboard using the Jira Calendar Plugin, which is owned by Atlassian.
This plugin doesn't have a supported migration path as mentioned in Marketplace apps for Jira that are available in cloud with migration paths, which results in this issue.
Solution
The solution available at the moment is to create the missing gadgets manually on the cloud.
As per the document JIRA Calendar Plugin, the plugin comes preinstalled in Jira Cloud instances.
You can use the below SQL query to find all dashboards using this gadget and create them manually on the cloud.
SELECT pp.ID
, pp.PAGENAME
, pc.GADGET_XML
FROM portalpage pp
JOIN portletconfiguration pc ON pp.ID = pc.PORTALPAGE
WHERE pc.GADGET_XML = 'rest/gadgets/1.0/g/com.atlassian.jira.ext.calendar:issuescalendar-gadget/templates/plugins/jira/portlets/calendar/gadget/calendar-gadget.xml';
When adding the calendar gadget to the dashboard, ensure the Due date field is part of your screen scheme so Jira has data to pull into the calendar.