Insight Object Schema page does not load in a Jira instance with the Surveys for Jira add-on
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
The Insight Object Schema page will not load from version 8.7.11 and above if the Jira instance has the Surveys for Jira add-on version 4.0.14 or below installed.
The issue is not reproduced in the versions where Insight is bundled with Jira Service Management 4.15+
Diagnosis
Environment
Instance with Insight Asset Management Standalone Version 8.7.11 and above
- Instance with Surveys for Jira 4.0.14 or below
The following appears in the Browser Console tab:
Uncaught TypeError: moment.locale is not a function
at Object.RLABS.GlobalConfig.handleData (com.riadalabs.jira.plugins.insight:rlabs-commons.js?locale=en-BR:13050)
at c (batch.js?locale=en-BR:54)
at Object.fireWith [as resolveWith] (batch.js?locale=en-BR:54)
at Object.<anonymous> (batch.js?locale=en-BR:54)
at c (batch.js?locale=en-BR:54)
at Object.fireWith [as resolveWith] (batch.js?locale=en-BR:54)
at Object.a.<computed> (batch.js?locale=en-BR:54)
at Object.<anonymous> (batch.js?locale=en-BR:54)
at c (batch.js?locale=en-BR:54)
at Object.add [as done] (batch.js?locale=en-BR:54)
Resolution
Update the Survey for Jira add-on to version 4.0.15+ which includes the fix.