Skip to content

Fetch Issue Feedback from GraphQL when a finding is clicked

Savas Vedova requested to merge 391577-use-graphql-to-fetch-missing-fields into master

What does this MR do and why?

This MR fetches the finding issue feedback data from GraphQL when a finding is clicked to be displayed in the modal. The fetched data is then patched to the pre-existing finding object.

Screenshots or screen recordings

finding-issue-feedback

When an issue is created, the Create Issue button is no longer displayed:

image

How to set up and validate locally

  1. Enable feature flag: :refactor_security_extension
  2. Fork https://gitlab.com/gitlab-examples/security/security-reports
  3. Create a new MR by modifying a file
  4. Visit the MR page
  5. Click on a finding and create an issue
  6. Come back to the MR page and re-open the same modal

You should see the issue feedback.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #391577 (closed)

Edited by Savas Vedova

Merge request reports