Issue created from Project Security Dashboard does not have a Create MR button

Summary

Issue created from Project Security Dashboard does not have a Create MR button

Steps to reproduce

Assume that there is a vulnerability found via SAST or Dependency scanning on a project (on master). View the vulnerability on the Project Dashboard. The popup showing the details of the vulnerability is displayed. On that popup, click the Create Issue button. Once the Issue is created, Note that there is no Create Merge Request button on this issue. How does a developer work on the issue if there isn't a way to create an MR straight from the issue which seems to have captured all relevant security information (such as the CVE and therefore a link to how to fix it)?

Example Project

(If possible, please create an example project here on GitLab.com that exhibits the problematic behavior, and link to it here in the bug report)

(If you are using an older version of GitLab, this will also determine whether the bug is fixed in a more recent version)

What is the current bug behavior?

Issue is created but no Create MR button is displayed on the issue.

What is the expected correct behavior?

Issue is created and would show the Create MR button.

Relevant logs and/or screenshots

Screen_Shot_2019-08-01_at_3.18.53_PM

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

Happens on GitLab.com

Results of GitLab application Check

Version 12.1

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Aug 01, 2019 by Sameer Kamani
Assignee Loading
Time tracking Loading