Skip to content

Add ability to create an issue from a standalone vulnerability

What does this MR do?

This adds a Create issue button in the standalone vulnerability page. Clicking on this button triggers an AJAX request to create an issue in the background. When the request resolves, the user is redirected to the new issue.

create_issue

NOTE: It's currently possible to create multiple issues from the same standalone vulnerability page. In a future iteration, we'll most likely want to hide the button if an issue already exists.

Screenshots

Before After
image image

How to test this?

  1. Make sure you have enabled the first_class_vulnerabilities feature flag
  2. Make sure you have a project with security scans enabled that has some vulnerabilities
  3. Navigate to one of the vulnerabilities' standalone page from Security & Compliance > Vulnerability List
  4. Click on the Create issue button

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Paul Gascou-Vaillancourt

Merge request reports