I don’t know if there’s a way to trigger a redirect, but you can at least show a getting started link after install by using the useAsGetStarted attribute in your manifest.yml:
For Jira, it is under jira:adminPage:
For Confluence, it should be under confluence:globalSettings: