Hi,
I have app with two modules, Jira Issue Panel and Jira Project settings page. When I open Jira Issue Panel in browser I get the following error in Developer console.
all.js:51 Refused to load the stylesheet 'https://connect-cdn.atl-paas.net/surfaces.css' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline'". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.
But Jira Project Settings page does not have this error. This problem is causing (I assume) that Atlaskit stylesheets does not work in issue panel (and it works fine in Project Settings).
Here is my manifest
modules:
jira:issuePanel:
- key: my_issuepanel
resource: Frontend
resolver:
function: resolver
title: myPanel
description: Ask GPT
displayConditions:
issueType: Story
jira:projectSettingsPage:
- key: my_project_settings
resource: Frontend
resolver:
function: resolver
title: MySettings
function:
- key: resolver
handler: index.handler
resources:
- key: icons
path: icons/
- key: Frontend
path: static/myapp/build
app:
id: xxx
permissions:
scopes:
- "read:jira-work"
- "storage:app"
content:
styles:
- 'unsafe-inline'