Fix `GitLab for Jira` app shows failed to load subscriptions error
What does this MR do and why?
WHY: Per #388168 (closed), we were not able to load subscriptions while configuring the Self-Managed of GitLab for Jira App.
WHAT: Updated the if
condition to trigger the send_uninstalled_hook
only if the new instance is on GitLab.com (SaaS).
Screenshots or screen recordings
Current | Now |
---|---|
How to set up and validate locally
- Run two Gitpod instances (https://gitpod.io/#https://gitlab.com/gitlab-org/gitlab/-/tree/master/)
- Use one as a Proxy
- Install GitLab for Jira App following the steps
- Configure the first self-manage instance
- Go back and try with another URL
- Validate that everything works
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #388168 (closed)
Edited by Bojan Marjanovic