Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-76068

Blank preview when adding "Sprint Health Gadget" and "Days remaining in Sprint Gadget" external Jira gadgets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 9.12.0
    • 9.7.0, 9.9.1
    • Dashboard & Gadgets
    • None
    • 9.07
    • 8
    • Severity 2 - Major
    • 74
    • Hide
      Atlassian Update – 18 October 2023

      Thank you for reporting this issue. In the last weeks we have been working hard on fixing it.

      Summary of the problem:

      External Jira "Sprint Health" and "Days remaining" gadgets would not work when embedded into a Confluence page, making it virtually impossible to work with.

      New behaviour after the change:

      The gadgets will now work when embedded into Confluence page.

      Status of the fix and Fix Version:

      The fix is ready, and we’re moving the status of this ticket to Waiting for release with Fix Version 9.12.0.

      Best regards,

      Artur Falborski
      Jira DC Senior Software Engineer

      Show
      Atlassian Update – 18 October 2023 Thank you for reporting this issue. In the last weeks we have been working hard on fixing it. Summary of the problem: External Jira "Sprint Health" and "Days remaining" gadgets would not work when embedded into a Confluence page, making it virtually impossible to work with. New behaviour after the change: The gadgets will now work when embedded into Confluence page. Status of the fix and Fix Version: The fix is ready, and we’re moving the status of this ticket to Waiting for release with Fix Version 9.12.0 . Best regards, Artur Falborski Jira DC Senior Software Engineer

    Description

      Problem

      When inserting the following external Jira macros into a Confluence page, the macro preview is blank, and cannot be configured to insert the gadget:

      • Sprint Health Gadget; and
      • Days remaining in Sprint Gadget

      Environment

      • Confluence Server / Data Center (any versions)
      • Jira Software 9.7.0 - (inclusive) and later

      Steps to Reproduce

      1. Configure external gadgets between Confluence and Jira
      2. Attempt to insert the Sprint Health Gadget into a Confluence page

      Expected Results

      Preview window is populated with configurable properties

      Actual Results

      Preview window is blank

      The Browser Console tab will also show this error:

      Uncaught ReferenceError: GADGET is not defined
          <anonymous> https://<confluence-base-url>/plugins/servlet/gadgets/ifr?container=atlassian&mid=70867025920&country=GB&lang=en&view=default&view-params={"writable":"true"}&st=atlassian:iuhSE....6RD+d&up_isConfigured=false&up_rapidViewId=&up_showRapidViewName=true&up_sprintId=&up_showSprintName=true&up_showAssignees=false&up_refresh=false&url=http://<jira-base-url>:8080/rest/gadgets/1.0/g/com.pyxis.greenhopper.jira:greenhopper-gadget-sprint-health/gadgets/greenhopper-sprint-health.xml&libs=auth-refresh#rpctoken=245552041:285
      ifr:285:13
          <anonymous> https://<confluence-base-url>/plugins/servlet/gadgets/ifr?container=atlassian&mid=70867025920&country=GB&lang=en&view=default&view-params={"writable":"true"}&st=atlassian:iuhSE...6RD+d&up_isConfigured=false&up_rapidViewId=&up_showRapidViewName=true&up_sprintId=&up_showSprintName=true&up_showAssignees=false&up_refresh=false&url=http://<jira-base-url>:8080/rest/gadgets/1.0/g/com.pyxis.greenhopper.jira:greenhopper-gadget-sprint-health/gadgets/greenhopper-sprint-health.xml&libs=auth-refresh#rpctoken=245552041:285
      

      Workaround

      Currently there is no known workaround for this behaviour. A workaround will be added here when available

      Attachments

        1. actual.png
          actual.png
          68 kB
        2. expected.png
          expected.png
          89 kB

        Issue Links

          Activity

            People

              d996197e70d9 Artur Falborski
              10fa531f7f9c Harrison
              Votes:
              18 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: