You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello everyone. This is my first time using a Jira Rest API, and I'm trying to integrate it into my Flutter project. I am using basic authorization for Jira. All of my code is working correctly, but when I attempt to publish my project, I encounter the following error. Could someone please help me with this issue?
Looks like this has already been answered in the below thread within the Atlassian developer community, so might be worth checking this out:
https://community.developer.atlassian.com/t/cors-error-with-rest-api/27354
Essentially though, CORS is an enforcement your browser is enforcing, because your browser notes that the domain for the URL you're requesting does not match the domain for the URL you're currently on.
My assumption is that you're trying to execute this from a client-side instance, rather than using some kind of backend programming language, hence the above. So the answer would be to instead use something like Python, Java, etc that runs on a server.
Oh, I see. Thank you very much for the explanation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.