Advanced Roadmaps macro shows error pop up displaying Jira Roadmap plan

XMLWordPrintable

    • 23
    • Severity 3 - Minor
    • 14

      Issue Summary

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Install Jira 9.13+
      2. Install Confluence DC 8.8.1 which comes with inbuilt Advanced Roadmaps for the Jira in Confluence app version 1.3.6
      3. Create a reciprocal application link between Jira and Confluence (using either OAuth or OAuth impersonation)
      4. Create a plan using Advanced Roadmaps for Jira on the Jira side
      5. After creating the plan, click "Share"
      6. Select Confluence from the opened panel, click the "Generate link" and copy the URL.
      7. Create a blank page on Confluence
      8. Add Advanced Roadmaps Plan macro and use the generated URL from the previous step

      Expected Results

      The Jira plan is displayed without issues in the Advanced Roadmap macro

      Actual Results

      The Advanced Roadmap macro displays a red banner with the message "Something went wrong" per below screenshot. 

      If banner is expanded and you click in View Log, the following stack trace is observed:

      Stack Trace
      Uncaught TypeError: Cannot read properties of undefined (reading 'top')
      
      TypeError: Cannot read properties of undefined (reading 'top')
          at Object.doRender (https://<JIRA_URL>/jira/s/6a2a7ab145064105e4dcbca44ce3bdc7-CDN/-ct0g2s/9130002/1dlckms/9.13.1/_/download/batch/com.atlassian.jira.jira-header-plugin:newsletter-signup-tip/com.atlassian.jira.jira-header-plugin:newsletter-signup-tip.js?locale=en-US:32:1148)
          at Object.<anonymous> (https://<JIRA_URL>/jira/s/6a2a7ab145064105e4dcbca44ce3bdc7-CDN/-ct
      

      Although macro displays a red banner with the message "Something went wrong" but the Jira roadmap is displayed correctly. Also if you update the plan in Jira same gets refreshed in Confluence.

      But the pop up seems to be annoying or confusing making end user think some issue with macro. 

      This is not an issue using Jira versions lower than 9.13+

      Workaround

      Use Jira versions lower than 9.13+

      OR

      Open in Incognito Window or clear cache

      OR

      On Jira side disable the newsletter-signup-tip module. 

      1. Access to your Jira instance
      2. Navigate to Administration (⚙) > Manage apps > Manage apps.
      3. Select User-installed in the dropdown menu and change it to System to see the list of system apps.
      4. Find Atlassian Jira - Plugins - Header Plugin in the list of apps and expand it.
      5. Expand the list of modules.
      6. Find and disable the newsletter-signup-tip module. (Note that there are two very similarly named modules, newsletter-signup-tip and newsletter-signup-tip-init, and only the former needs to be disabled.)

            Assignee:
            Arun Antony
            Reporter:
            Saurabh
            Votes:
            21 Vote for this issue
            Watchers:
            34 Start watching this issue

              Created:
              Updated:
              Resolved: