Error Details Page: Include issues created in GitLab
What does this MR do?
Overview
Right now we present a link to the GitLab issue on the error details page within Error tracking if a user creates a GitLab issue in Sentry from a Sentry error/issue.
We also added the ability to create GitLab issue from the GitLab Error Tracking page. Right now the url to the Gitlab issue is only presented if the GitLab Issue was created via Sentry. This MR will include the url to the gitlab issue in the response regardless of whether it was created in Sentry or Gitlab.
We fall back on the Sentry data but prefer our own since we have control over it.
Resolves Issue: #42646 (closed)
Technical Overview
The code to add the GitLab Error to the final response will live outside the Sentry Client since we want to keep the responsibility for fetching the Sentry separate. Since we don't care to cache this data it will live inside the ErrorTracking::IssueDetailsService
.
Screenshots
Link on Error Tracking Page:
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content