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

    XMLWordPrintable

Details

    Description

      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+

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              188bae873138 Saurabh
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: