Summary

When accessing a Salesforce Record, the Jira Issues and Comments components are shown blank. The usual Create/Associate buttons are also not available.

Environment

  • Any Connector for Salesforce & Jira version

  • Any Jira version

Diagnostics Steps

Using the browser developer tools (press F12), check the Console for any CORS-related error. For example:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at <salesforce_url>. (Reason: CORS header 'Access-Control-Allow-Origin' does not match '<salesforce_url>'.

Cause

The problem is caused by a Salesforce update called "Enable Secure Static Resources for Lightning Components". More information about this update can be found on the Salesforce site below:

As of this KB's creation (6th Sept 2021), Salesforce has postponed the update and has suggested not enabling it.

Workaround

Not applicable.

Resolution

Disable the update with the steps below:

  1. Navigate to Salesforce Setup > Release updates > Archived tab.

  2. Look for Enable Secure Static Resources for Lightning Components.

    (info) If it can't be found on the Archived tab, check the Need Actions tab instead.
  3. Click View Update.

  4. Then click Disable Test Run to disable it.

An example screenshot after disabling: