[Atlassian Connect] Ajax request to JIRA from within iframe

Hey All,

Is it possible to make a request to the JIRA REST API directly from the client/browser in an atlassian connect application, using the connect JWT for verification

<meta name="token" th:content="${atlassianConnectToken}"/>

I presume I will run into CORS issues since the connect app runs in the iframe hosted on another origin. Any way round this?

Hi, yes - but you need to use this method: Request

Cheers

Wow! That was easy, never knew about this. Thank you!

1 Like