Cannot create an issue from vulnerability from MR widget

Summary

It's not possible to create an issue from a vulnerability from the Merge Request widget. One can dismiss a vulnerability but the "Create an issue" button is missing; this button is visible only in the context of a pipeline.

Steps to reproduce

  • Create a project with a MR that introduces a new vulnerability - one reported by SAST, DAST or Dependency Scanning.
  • Click on one of the open vulnerability.
  • There's no "Create an issue" button.

Example Project

gitlab-org/security-products/tests/java-maven!6 (closed)

What is the current bug behavior?

No "Create an issue" button.

What is the expected correct behavior?

There should be a "Create an issue" button alongside the "Dismiss vulnerability" button.

Relevant logs and/or screenshots

Capture_d_écran_2018-07-08_19.53.23

Output of checks

This bug happens on GitLab.com: GitLab Enterprise Edition 11.1.0-rc4-ee aedb3c95

Assignee Loading
Time tracking Loading