Skip to content

Prioritize server-provided error messages to present to users when Jira Issues list fails

What does this MR do?

In preparation for backend work in #323304 (closed), this MR updates the Jira Issues list to use the backend-provided error message to present to the user. If no error message is present, a generic message is used.

Current possible server-provided error messages:

  • An error occurred while requesting data from the Jira service.
  • Jira service not configured.
  • Jira project key is not configured.

Fallback error message: An error occurred while loading issues

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Tom Quirk

Merge request reports