Uploaded image for project: 'Atlassian Ecosystem'
  1. Atlassian Ecosystem
  2. ECO-69

Connect JS API (all AP functions) do not work when opening Jira Cloud inside Bitbucket Cloud

    XMLWordPrintable

Details

    • Severity 3 - Minor

    Description

      Issue Summary

      The way to reproduce is to have an addon that implements either jiraIssueContents.web_panel or a webPanels.atl.jira.view.issue.right.context and inside of those views load the standard AP connector https://connect-cdn.atl-paas.net/all.js.

      You’ll need to then connect Bitbucket to a project and visit a pull request that is tied to an issue. From the Bitbucket page on the right sidebar will be a Jira Issue panel that when clicked loads the Jira issue linked in a modal window.

      From within those rendered iframes try and run any of the AP functions like AP.request AP.getLocation or AP.context.getContext and you’ll see that none of those functions ever return and no external xhr calls are made.

      Steps to Reproduce

      1. Please check the issue summary.

      Expected Results

      All AP functions should work correctly also from Bitbucket 

      Actual Results

      Nothing happens and also no error is returned.

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              01648e0ea082 James Byun
              7af4c19cf335 Damian Kleszcz
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: