NPS view sample survey on the admin panel is broken

XMLWordPrintable

    • Severity 2 - Major

      How to reproduce

      • enable NPS plugin
      • navigate to General Configuration > Analytics
      • click "View a sample"

      Expected

      • a sample nps dialog is displayed

      Actual

      • no inline dialog is displayed

      instead there is the following error message in the console :

      survey-inline-dialog.js?data-wrm-batch-type=resource&data-wrm-key=com.atlassian.plugins.atlassian-n…:78 Uncaught TypeError: $surveyEl[0].show is not a function
      

      which is triggered from the following piece of code :

                  if (isAuiFiveNine) $surveyEl[0].open = true;
                  else $surveyEl[0].show();
      

      Note : that is the case for plugin version 3.1.18, however it has been addressed in most recent versions

      So a simple plugin upgrade would solve all our issues

      Done When

      • Main Plugin build includes an nps plugin job
      • Bump nps plugin version to latest

            Assignee:
            Hasnae (Inactive)
            Reporter:
            Hasnae (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: