When migrating SharePoint documents to a new domain, the URLs of shared documents will change, affecting links in systems like Jira and Confluence. To automate the update of these links, you can use PowerShell scripts or SharePoint's URL Rewrite feature. However, these methods may require customization based on your specific setup. There isn't a built-in feature in SharePoint or Azure Migrate for automatically updating external links.
https://learn.microsoft.com/en-us/sharepoint/change-your-sharepoint-domain-name