Skip to content

Allow For GitLab Todos Created From Alerts

What does this MR do?

This adds the ability to add an alert todo to the db via the rails console and display it in the todo list.

This does not yet add the ability to create alerts and thus is labeled as Backstage.

Part of #215946 (closed)

Adding alert todo on the local devstack:

project = Project.last
user = User.first
FactoryBot.create(:alert_management_alert, project: project)
FactoryBot.create(:todo, project: Project.last, user: User.first, target: AlertManagement::Alert.first)

Screenshots

Screen_Shot_2020-06-03_at_5.35.56_PM

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 Rémy Coutable

Merge request reports