Skip to content

External issues list: Don't show empty state when error occurs

What does this MR do and why?

Related to #338396 (closed) (as per MR title!).

Because this MR introduces GlAlert, we'll be able to put links to docs in error messages: #337996 (closed)

Screenshots or screen recordings

jira-issues-list-error

How to set up and validate locally

  1. Select a GitLab project on your local GitLab instance.
  2. Enable and configure the Jira integration for the project. More information.
    • GitLab team members: use the Jira credentials in the shared Engineering 1Password folder.
    • Community contributors: set up your own Jira instance.
  3. Select Jira Issues in the sidebar with browser dev tools open
  4. In network tab of devtools, block the request to /-/integrations/jira/issues.json?with_labels_details=true&per_page=20&page=1&state=opened&sort=created_desc.
  5. Refresh and observe page. The Alert should be visible, and the issues list should not.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Tom Quirk

Merge request reports