Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-95038

Advanced Roadmaps macro shows error pop up displaying Jira Roadmap plan

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 8.6.2, 8.5.7, 7.19.20, 8.8.1, 8.9.4, 8.9.8

      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

      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.)

            [CONFSERVER-95038] Advanced Roadmaps macro shows error pop up displaying Jira Roadmap plan

            This happnes on our side using Jira 9.17.x and Confluence 9.3.1

            Luis Roberto Costa Dias added a comment - This happnes on our side using Jira 9.17.x and Confluence 9.3.1

            Tim De Wachter added a comment - - edited

            You can disable the newsletter-signup-tip module in Atlassian Jira - Plugins - Header Plugin as a workaround.

            Tim De Wachter added a comment - - edited You can disable the newsletter-signup-tip module in Atlassian Jira - Plugins - Header Plugin as a workaround.

            Maximilian Weißböck added a comment - We and others have the very same problem, see https://community.atlassian.com/t5/Advanced-planning-discussions/Insert-an-Advanced-Roadmaps-for-Jira-plan/td-p/2640513#U2671326 for details.

            We are affected by this bug (Confluence 8.8.1, Jira Software 9.14.1). This bug affects all our users.

            A temporary workaround is to delete all browser data (cookies etc.). But after a few days the error message appears again.

            Julian Bauer added a comment - We are affected by this bug (Confluence 8.8.1, Jira Software 9.14.1). This bug affects all our users. A temporary workaround is to delete all browser data (cookies etc.). But after a few days the error message appears again.

              Unassigned Unassigned
              188bae873138 Saurabh
              Affected customers:
              19 This affects my team
              Watchers:
              30 Start watching this issue

                Created:
                Updated: