Skip to content

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

Creating an issue in GitLab: Screen_Shot_2020-01-24_at_4.17.48_PM

Link on Error Tracking Page:

Screen_Shot_2020-01-24_at_4.17.21_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports