Summary
Prior to the introduction of the cacheable iframes pattern, the location of all.js was only provided to apps relative to the tenant base URL. This meant that app pages had to determine the URL of all.js using a scheme that incorporated parameters xdm_e
and cp
which were passed to the app in query parameters. These parameters are not passed into cacheable iframes, so all.js is now available from the following URL:
https://connect-cdn.atl-paas.net/all.js
Loading all.js from the xdm_e
parameter is being deprecated, and vendors are now required to load all.js from the connect-cdn.
all.js
will no longer be available from the instance as of 01 Feb 2020.
Imminent Deprecation
As the deprecation date for this change is now imminent, we require apps to move from loading all.js from the host product instance to loading from the CDN, as we have indicated.
If you are using the Atlassian provided frameworks, ACE or Connect SpringBoot, the simplest method to make that change is to update to the latest versions of these frameworks.
If you are using your own code, you should be following the instructions for all.js at https://developer.atlassian.com/cloud/jira/platform/about-the-javascript-api/#javascript-client-library
Update
We’ve recently released a deprecation update for Atlassian Connect Express, Atlassian Connect Express project templates, and Atlassian Connect Spring Boot. If you haven’t updated your version, please update to the latest version or at least on version 3.5.2 for Atlassian Connect Express, or 2.0.1 for Atlassian Connect Spring Boot.
How to update to latest version of Atlassian Connect Express?
- Open a terminal
- Go to your app’s root directory
- Type the following in command and that should update package.json and install the latest version of atlassian-connect-express dependency in your app
npm install atlassian-connect-express@* --save
Version 3.5.2 or later will load the Atlassian Connect JavaScript library (all.js) from its CDN location.
How to update to latest version of Atlassian Connect Spring Boot?
Typically the version of the Atlassian Connect Spring Boot is declared in a Maven property in your project POM
<atlassian-connect-spring-boot.version>2.0.1</atlassian-connect-spring-boot.version>
This is then referenced by multiple Maven dependencies:
<dependency>
<groupId>com.atlassian.connect</groupId>
<artifactId>atlassian-connect-spring-boot-starter</artifactId>
<version>${atlassian-connect-spring-boot.version}</version>
</dependency>
<dependency>
<groupId>com.atlassian.connect</groupId>
<artifactId>atlassian-connect-spring-boot-jpa-starter</artifactId>
<version>${atlassian-connect-spring-boot.version}</version>
</dependency>
Version 2.0.1 or later will load all.js from the Atlassian CDN