Convert Issues::CreateFromVulnerabilityDataService to work similar to Issues::BuildService
Summary
The following discussion from !40958 (merged) should be addressed:
-
@reprazent started a discussion: (+2 comments) Did we consider building an issue and presenting the issue form with this information pre-filled. That way, the user has the opportunity to adjust the issue if they wanted to.
We do something similar for resolving discussions in merge requests using a new issue in the
Issues::BuildService
.Do you think that would be more consistent?
Implementation plan
- Create
Issues::BuildFromVulnerabilityService
fromIssues::BuildService
(#250353 (closed)) - Add call to
IssuesController#new
for building the issue from the vulnerability (#284740 (closed)) - Add call to
IssuesController#create
for creating the issue with feedback and issue link (#284740 (closed)) - Modify front-end call to new endpoint. (#284804 (closed))
- Cleanup unused code (#284817 (closed))
Edited by Jonathan Schafer