Mulesoft API Calls From Forge APP CORS Issue

We are currently facing a CORS (Cross-Origin Resource Sharing) error when trying to access the Mulesoft API from our Forge app within JIRA. Please find the attached screenshots for reference.

@ibuchanan @BoZhang Can you please help/guide us to resolve this issue

Hi mismailm,
Have you configured the necessary external permissions? You can find more details here: https://developer.atlassian.com/platform/forge/manifest-reference/permissions/

Hey, if it’s CORS blocking the request, this will require changes on the Mulesoft side to allow CORS. Egress permissions on our end probably won’t help.
A workaround is to create a Forge resolver for your UI and to call this API from that Forge resolver. This will mean the API call will happen in the backend where CORS won’t be an issue.

1 Like

Okay Thanks for input. I will try to check the same

Yes we have already provided necessary permissions