Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-44945

Macros from JIRA and JIRA Agile stopped working

    XMLWordPrintable

    Details

    • Introduced in Version:
      6.04
    • Regular Expression:
      Dropdown constructor has been deprecated and will be removed in a future release\. Use Dropdown2 instead\.

      Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      Confluence's external macros from JIRA and JIRA Agile aren't working (existing ones) and if new ones are added to Confluence pages they're unable to retrieve JIRA's projects and saved filter, a required step of their configuration, which leads to the following error upon an attempt to save it: No project or filter specified.
      Macros such as Issue Statistics and Two Dimensional Filter Statistics.

      Update

      Confluence is having trouble contacting JIRA whenever an action to fetch JIRA information is required.
      In case the user wants to create an issue in JIRA using Confluence quick issue creation, he/she won't be able to browse the Projects available on JIRA due to a problem with the applink.

      Steps to Reproduce

      1. Have JIRA and Confluence Cloud on the same instance
      2. On a Confluence page add the Two Dimensional Filter Statistics macro
      3. Search for the JIRA's project or saved filter

      Expected Results

      A drop-down list of available JIRA project or saved filter should appear according to what was typed

      Actual Results

      No drop-down list appear and the following error is displayed when the current setting is saved: No project or filter specified.

      Notes

      This seems to be affecting JIRA gadgets as well.

      Browser's console shows the following (as seen on screenshot):

      DEPRECATED - Dropdown constructor has been deprecated and will be removed in a future release. Use Dropdown2 instead.  
           at getFooterMenu (https://d1ixbz5qgnvms3.cloudfront.net/fwilligjiraandconfluence.atlassian.ne…s-gadgets-lite/com.atlassian.gadgets.publisher:ajs-gadgets-lite.js:30:1399)
      auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:354 GET https://fwilligjiraandconfluence.atlassian.net/wiki/plugins/servlet/gadgets…ts%2Ftwo-dimensional-stats-gadget.xml&container=atlassian&bypassSpecCache= 400 (Bad Request)makeXhrRequest @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:354gadgets.io.makeRequest @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:390AG.ajax.trustedApps @ com.atlassian.gadgets.publisher:ajax.js:15jQuery.ajax @ com.atlassian.gadgets.publisher:ajax.js:24jQuery.extend.unauthorized @ com.atlassian.gadgets.publisher:ajax.js:24(anonymous function) @ com.atlassian.gadgets.publisher:ajax.js:21jQuery.ajax @ com.atlassian.gadgets.publisher:ajax.js:24SmartAjax.makeRequest @ jira.webresources:util-lite.js?locale=en-US:54_makeRequest @ jira.webresources:autocomplete.js:6(anonymous function) @ jira.webresources:autocomplete.js:9
      com.atlassian.gadgets.publisher:ajax.js:15 Uncaught TypeError: Cannot read property 'x-seraph-trusted-app-status' of undefinedAG.ajax.trustedApps.handleResponse @ com.atlassian.gadgets.publisher:ajax.js:15(anonymous function) @ com.atlassian.gadgets.publisher:ajax.js:15hadError @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:313processResponse @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:320gadgets.util.makeClosure @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:70
      com.atlassian.auiplugin:aui-deprecation.js:3 ajax[59128151] aborted : 
      auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:354 GET https://fwilligjiraandconfluence.atlassian.net/wiki/plugins/servlet/gadgets…ts%2Ftwo-dimensional-stats-gadget.xml&container=atlassian&bypassSpecCache= 400 (Bad Request)makeXhrRequest @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:354gadgets.io.makeRequest @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:390AG.ajax.trustedApps @ com.atlassian.gadgets.publisher:ajax.js:15jQuery.ajax @ com.atlassian.gadgets.publisher:ajax.js:24jQuery.extend.unauthorized @ com.atlassian.gadgets.publisher:ajax.js:24(anonymous function) @ com.atlassian.gadgets.publisher:ajax.js:21jQuery.ajax @ com.atlassian.gadgets.publisher:ajax.js:24SmartAjax.makeRequest @ jira.webresources:util-lite.js?locale=en-US:54_makeRequest @ jira.webresources:autocomplete.js:6(anonymous function) @ jira.webresources:autocomplete.js:9
      com.atlassian.gadgets.publisher:ajax.js:15 Uncaught TypeError: Cannot read property 'x-seraph-trusted-app-status' of undefinedAG.ajax.trustedApps.handleResponse @ com.atlassian.gadgets.publisher:ajax.js:15(anonymous function) @ com.atlassian.gadgets.publisher:ajax.js:15hadError @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:313processResponse @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:320gadgets.util.makeClosure @ auth-refresh.js?v=5d172772d3da3e73329fba55c6e2a2bd&container=atlassian&debug=0:70
      com.atlassian.auiplugin:aui-deprecation.js:3 ajax[59128838] aborted : 

      Workaround

      No workaround at the moment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
                Reporter:
                fwillig Felipe van Schaik Willig
              • Votes:
                31 Vote for this issue
                Watchers:
                51 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: