Remove call to vulnerabilities feedback controller from pipeline security tab 'Create Issue' button
At the time of writing the Create Issue button on the Pipeline -> Security tab calls the Projects::VulnerabilityFeedbackController#create
action.
We intend to remove this controller in Remove Projects::VulnerabilityFeedbackController (#419214) so we need to update the Create Issue button to not call this controller.
Implementation Outline
- Use mutation within action instead of axios POST
- Add specs
Poc branch: dpisek/poc-graphql-issue-creation
Verification Steps
- Go to a pipeline with a project that has vulnerabilities and navigate to the "security" tab
- Click on the "Create Issue" button on the right side of a finding's row
- Verify that all the "Create Issue" buttons within the table are replaced with a loading spinner
- Verify that once the issue has been created a redirect to it happens
Edited by David Pisek