Skip to content

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
image image
Screenshot_2023-01-27_at_13.35.03 Screenshot_2023-01-27_at_13.40.30

How to set up and validate locally

  1. Run two Gitpod instances (https://gitpod.io/#https://gitlab.com/gitlab-org/gitlab/-/tree/master/)
  2. Use one as a Proxy
  3. Install GitLab for Jira App following the steps
  4. Configure the first self-manage instance
  5. Go back and try with another URL
  6. 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.

Related to #388168 (closed)

Edited by Bojan Marjanovic

Merge request reports