Skip to content

Change Front-end Call to use route that builds a vulnerability with feedback

Why are we doing this work

The current implementation of creating vulnerability feedback requires that the feedback and issue be created directly from the vulnerability. We want to change the workflow such that the user has the opportunity to modify the issue before creating the issue. This requires a change to the routes in IssuesController to determine if a vulnerability and feedback needs to be created from the new issue.

This issue is specifically to change the front-end call to use the new route from #284740 (closed).

This issue is broken out from #250578 (closed).

Relevant links

Non-functional requirements

  • Documentation: Documentation will be updated to indicate the new workflow
  • Testing: FE tests need to be modified to match code changes

Implementation plan

  • frontend Update front-end to call new route
    • This may have been an axios call, but should just be a get with this change
  • backend Update any helpers with the correct route