I’m moving some Connect apps to Forge. We’ve been using Atlassian Connect Spring Boot. Our DB tables are keyed off of client key, and I understand that Forge installation ID is the new one.
My problem is that I have no way to map between these because:
- The
atlassian_host_mappingtable is empty. I understand this is supposed to map between installation ID and client key.- I checked and found that
installationIdis null in the Connect/installedevent, which explains whyatlassian_host_mappingis empty. But I don’t understand why it’s null in the event—and if that is expected because it’s a Connect/installedevent rather than a Forge one, then what is supposed to be populatingatlassian_host_mapping?
- I checked and found that
- The
atlassian_hosttable’s rows havenullforinstallationId - If I do
forge installto install my Forge app’s development environment onto my Atlassian instance, it overwrites the Connect app as expected, and I can get the installation ID in the Forge installed event, but I get no client key there (the docs don’t state that it’s included)
I must be missing something, but at the moment I have a bunch of data keyed off of client key, and no way to get an installation ID for that, so I have no way to migrate. How can I get atlassian_host_mapping populated?
Not sure if this could be the issue, but so far I’m only using a Forge development environment, rather than production.