Skip to content

Add Sentry project dropdown to error tracking settings form

Reuben Pereira requested to merge 55199-operations-settings-update into master

What does this MR do?

Last release we had added an integration with Sentry where the user can add his Sentry API URL (ex: http://sentry.example.com/api/0/projects/organization-slug/project-slug/) and token and we display a list of Sentry issues/errors.

This issue is to make it easier for the user to set their Sentry API URL. In this issue, we aim to add a project selection dropdown, so that the user only has to enter his Sentry API host (ex: http://sentry.example.com) and token, then we populate the dropdown with a list of Sentry Organizations and Sentry Projects that the user has access to, and they can choose the project whose issues they want us to display.

This MR Modifies the operations settings save endpoint to handle new error tracking settings such as an api_host, token, project slug, organization slug, project name, organization name and modifies the FE to show the new Error Tracking settings form with a Sentry project dropdown selector. The FE MR which was merged into this one can be seen here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24872

The EE MR for this is: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9434

What are the relevant issue numbers?

#55199 (closed)

Does this MR meet the acceptance criteria?

Edited by Reuben Pereira

Merge request reports