Skip to content

Improve response from Jira issue creation from vulnerability

What does this MR do?

Related to #280951 (closed) and https://sentry.gitlab.net/gitlab/gitlabcom/issues/2418495/?query=is%3Aunresolved

This change fixes problem with Internal Server Error from GraphQL mutation when creating external issue link. To avoid additionally calling 3rd party API to fetch information about Jira issue, we will return now empty response for external issue and fetch it in background using https://gitlab.com/gitlab-org/gitlab/blob/334beb400433c0ac8986cfe68c7b8400a126520e/ee%2Fapp%2Ffinders%2Fprojects%2Fintegrations%2Fjira%2Fby_ids_finder.rb#L6 and ReactiveCaching.

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

Merge request reports