Data Residency : About when existing customer uninstall then install again

We are stuck at the below scenario/behavior for existing customers as follows.

Customer Location AWS Region Region to which a Jira sends the request for add-on data
Please consider the current status as below (Before our add-on supports the Data Residency)
Customer_XYZ Globle EU-XX Environment before the Data Residency
Customer has some connect-app data in the environment before the Data Residency
Now we start supporting a Data Residency
Let’s look at the current status as follows
Customer_XYZ Globle EU-XX Environment before the Data Residency
Now the customer uninstalls the add-on and installs it again
Let’s look at the current status as follows
Customer_XYZ Globle EU-XX EU-XX
Customer lost/can not find the data as Jira now sending the request to the EU-XX/different server

Now the question is How can we tell Jira that for Customer_XYZ please send the request to the Globle environment?

NOTE: Customer did not enable the Data Residency for Jira and Add-on applications as well till this moment.

Hi Piyush,

How can we tell Jira that for Customer_XYZ please send the request to the Globle environment?

At the moment, Connect treats each new installation as fresh installation. This means that when a customer reinstalls the app, they are routed to the region based upon where their associated product is pinned at the time of reinstallation.

I’d recommend exploring the data residency migration lifecycle events. This EAP includes a new realm migration service and associated APIs, which will enable you to start integration and testing to support migration of app data to match the parent product realm. This means customers can migrate their app between realms without having to uninstall/reinstall.

Hi @SeanBourke,
We know the lifecycle, but let’s consider a scenario,
One of our existing paid customers ( pinned / not pinned ) uninstalls and installs again, in this case, way Jira/Atlassian is not preserved the connect app’s older region/environment at least for a paid customer or at least for a customer whose license is not expired yet.

And one more point, why Jira is not sending the request to the global environment even if the customer is in the global scope?

Hey @Piyush,

Thanks for sharing the additional information about the circumstance you’re seeing. As @SushantBista has shared we are still exploring realm-persistence as a potential pathway to mitigate these circumstances.

And one more point, why Jira is not sending the request to the global environment even if the customer is in the global scope?

If the product isn’t pinned to a realm, Connect will look at where the product is provisioned, known as the ‘shard’, and will route traffic to the corresponding realm of that shard. However, if the app doesn’t support this realm, then Connect will route traffic to the global realm instead. Reference to documentation