We couldn't load all Actvitity tabs. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-194

Confluence Connect Javascript API Events not are working in JSM article view with custom domain.

    • Severity 2 - Major

      Issue Summary

      The Events API is not working in dynamic content macros inside the JSM Article view when the customer has a custom domain.
       
       Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>').

      Steps to Reproduce

      1. Setup a Confluence Space as Knowledge Base in a Jira Service Management project
      2. Create a custom domain for the Service Portal
      3. Install the App
      4. Add some language macros on the page, eg. german & english
      5. view this page in the Knowledge base view in the Jira Service Management Customer Portal
      6. The language macros communicate via the JS event API to identify which language to show

      Other responses for window.AP. (based on the test with another app)

      undefined

      Expected Results

      The app should work the same way also from Custom domains. 

      Actual Results

      Failed to execute ‘postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>'). in the browser console. → the macros don’t show content. happens in the all.js, you can find it in the logs.

      Workaround

      Use the app from the normal domain (domain.atlassian.net) instead of custom domains.

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.
            Uploaded image for project: 'Atlassian Ecosystem'
            1. Atlassian Ecosystem
            2. ECO-194

            Confluence Connect Javascript API Events not are working in JSM article view with custom domain.

              • Severity 2 - Major

                Issue Summary

                The Events API is not working in dynamic content macros inside the JSM Article view when the customer has a custom domain.
                 
                 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>').

                Steps to Reproduce

                1. Setup a Confluence Space as Knowledge Base in a Jira Service Management project
                2. Create a custom domain for the Service Portal
                3. Install the App
                4. Add some language macros on the page, eg. german & english
                5. view this page in the Knowledge base view in the Jira Service Management Customer Portal
                6. The language macros communicate via the JS event API to identify which language to show

                Other responses for window.AP. (based on the test with another app)

                undefined

                Expected Results

                The app should work the same way also from Custom domains. 

                Actual Results

                Failed to execute ‘postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>'). in the browser console. → the macros don’t show content. happens in the all.js, you can find it in the logs.

                Workaround

                Use the app from the normal domain (domain.atlassian.net) instead of custom domains.

                        f4596a4d15ab Thomas White
                        7af4c19cf335 Damian Kleszcz
                        Votes:
                        10 Vote for this issue
                        Watchers:
                        10 Start watching this issue

                          Created:
                          Updated:

                            f4596a4d15ab Thomas White
                            7af4c19cf335 Damian Kleszcz
                            Affected customers:
                            10 This affects my team
                            Watchers:
                            10 Start watching this issue

                              Created:
                              Updated: