useEffect(() => {
First Issue:
I'm encountering a CSP violation detected for 'script-src' while serving content at http://localhost:8000/. The error message suggests that for an app to share data with external resources or use a custom CSP, I should follow the steps in this guide: Atlassian Forge Content Security and Egress Controls. This error is occurring on the front-end side.
Second Issue:
I am receiving an error: "Uncaught Error: Unable to establish a connection with the Custom UI bridge."
Third Issue:
When trying to access XMLHttpRequest at 'https://hayloo.atlassian.net/rest/api/2/issue/KAN-1' from origin 'https://localhost:3000', I am blocked by a CORS policy. The error states: "Response to preflight request doesn't pass access control check: It does not have HTTP ok status."
What is the proper way to call the Jira issue API or any API? I created a Jira project with a custom UI, and these are all the errors I'm encountering. I've tried using a proxy and the methods provided by Jira, but have been unsuccessful. Could you please guide me and suggest a solution?
MY YAML FILE
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Taha Husnain
Unfortunately your issues are outside my realm of experience. I asked you for the error information because without that nobody would be able to suggest what you would need to do to fix your issues.
Are you using the Forge platform for this development? If so there is a Forge developer community that might have the expertise to help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.