What about all that database stuff?

How can I determine which Atlassian Connect tenant sent a Forge Remote request to my app server? I want the Forge Remote call to retrieve some data from our database, which is keyed by the Atlassian Connect tenant’s client id.

I believe you need to be saving and using the new installationId field in the install callback to tie them together: https://developer.atlassian.com/cloud/jira/platform/connect-app-descriptor/#lifecycle-http-request-payload

However, I’ll ask somebody on my team to confirm.

2 Likes

That’s right.
You can refer to the documentation for either of our frameworks under the “Forge” heading to see how it’s done. If you’re not using the frameworks, you can refer to the source of either for guidance on implementing your own Connect / Forge association.

3 Likes

Well now, that just makes a whole lotta sense. Thanks Robert and Jimmy.

2 Likes